rm/cobol to visual cobol: application windows/dialogs using rmputil
i have a program written in rm/cobol that i am trying to compile using visual cobol. i am have set the proper dialect and its compiling successfully. the problem i am facing is on the windowing...
View ArticleRE: Killing a thread
Unfortunately I think the answer is that you're not doing anything wrong. This is caused by a bug in our compiler, though coincidentally it's a bug that I just fixed. This will work correctly in the...
View ArticleRE: Killing a thread
Thanks That worked to kill the thread. Is there a way to send a message to a thread so that it can exit itself rather then just killing it?
View ArticleRE: Killing a thread
Most thread communication can be handled using one of the synchronization primitives like a mutex, event, semaphore, monitor, etc.You could also set a flag variable in the main thread in shared storage...
View ArticleKilling a thread
I have created a thread using the CBL_CREATE_THREAD routine. However, when I attempt to kill the thread using CBL_THREAD_KILL it does not kill the thread. The thread remains running. My thread is...
View Articledefault parameters
Is there a way to provide a default parameter in Visual Cobol like you can in C#?public void MyString(String passedString = " ")
View ArticleRE: rm/cobol to visual cobol: application windows/dialogs using rmputil
Hello Ali, can you contact me at scot.nielsen@microfocus.com to discuss this further. Thanks
View ArticleCancelling a thread
I want to send a message to a thread to close and am attempting to use the CBL_THREAD_IDDATA_ALLOC and CBL_THREAD_IDDATA_GET routines. I am am getting an exception error when calling...
View ArticleRE: default parameters
Yes, this is possible using the 2.2 version of Visual COBOL, and the syntax is quite similar to the C# syntax. As an example: class-id a. method-id main static. invoke...
View ArticleRE: default parameters
Thanks. I thought I tried that. I must have done something wrong.
View ArticleVB to Cobol conversion
Hi,Can any one advise how to convert the following VB code to Cobol pls.Its for a fingerpint reader.Imports System.ThreadingImports System.IOImports DPUruNetImports System.DrawingImports...
View ArticleRE: Cancelling a thread
This is the same bug that Robert pointed out on your previous post.It has to do with the usage thread-pointer not being mapped correctly to a .NET IntPtr data type which is required under the covers.If...
View ArticleVisual COBOL on a TFS Build Controller
Hi,We are planning to use TFS to build & deploy our COBOL programs. As I understand it we need to install Visual COBOL on the TFS Build Controller (that will be a separate server) and have a valid...
View ArticleRE: Visual COBOL on a TFS Build Controller
Visual Studio is a prerequisite for installing the Visual COBOL for Visual Studio product.If you have a full version of Visual Studio installed on your server then Visual COBOL will install into...
View ArticleRE: VB to Cobol conversion
The following is about as close as I can come to a COBOL conversion without actually having the DPUruNet class available to me:I am sure there are some mistakes but it is a starting point for you...
View ArticleRE: VB to Cobol conversion
Hi Chris, thanks and I can tell you were pretty dang close.Neil and I worked through this together and got this converted and running successfully - a COBOL application processing a fingerprint reader...
View ArticleRE: Cancelling a thread
Thanks ChrisI thought i had tried that in my program, but I guess I didn't. Thanks again fro your help. If you know of an easier way for two threads to communicate please let me know.
View ArticleWould you like to learn OO COBOL?
Hello - we're considering a webinar series focusing on OO COBOL for use in .NET and JVM.We'd look to start from the ground up, covering basic concepts through to UI modernization. If you'd attend such...
View ArticleRE: Receiving Java custom record in procedural cobol
What version of Visual COBOL are you using?In the more recent versions of Visual COBOL it is not necessary to use the class repository. You could code as follows:01 objLireTPrestInt type...
View Article