Forum Post: RE: Load a DLL
If you are calling a native .dll from a managed .NET program then you are using a platform invoke or p/invoke. This is covered in the docs here : In Visual COBOL the hard work is done under the covers...
View ArticleForum Post: Visual CoboL .NET Book
Hi guys, Already available in the online bookstore AgBook here , my Visual Cobol .NET book with print option in black and white, in colors or PDF. With more than 50 examples projects distributed in...
View ArticleForum Post: RE: Visual CoboL .NET Book
Altair, will the book be available in English? I'm looking to learn Visual COBOL. Thanks
View ArticleForum Post: RE: Winforms: calling 2nd form
Here is what I found: 1. this forum article itself in the forum 2. A wiki titled "Handle multiple WinForm forms in Visual COBOL" 3. A forum article "using 'Call' in Method 4. A wiki article "Visual...
View ArticleForum Post: RE: Visual CoboL .NET Book
Hi Mike, I intend to publish an English version in the middle of next year.
View ArticleForum Post: RE: Load a DLL
I will try to explain what happens. Here in Brazil we have to do tax changes and the government unified the sending of information and he is using this dll, I made another program NetExpress and the...
View ArticleForum Post: RE: Load a DLL
The same call code that you used under Net Express should work in a managed COBOL program as well including the call-convention, etc. To make the native code .dll available for the call you can either...
View ArticleForum Post: RE: Load a DLL
Using the same format NetExpress of the following error: {"% d error message text not found \ n (Could not load file or assembly 'file: /// c: \\ \\ sat SAT.dll.' or one of its dependencies The module...
View ArticleForum Post: RE: Load a DLL
The error that you are seeing is caused by calling a native .dll that is a different bitism than the calling managed program. If this is a 32-bit .dll that you are calling then the managed code...
View ArticleForum Post: RE: FirstChanceException logging
The following example works for me. This will attach a method to the firstchangeexception event and then will raise an exception to see it execute. The handler will write the exception to the event...
View ArticleForum Post: RE: FirstChanceException logging
Thanks. My application is multi-threaded and I got the mutex statement working. I couldn't find a reference to the sync statement. C# has a SyncLock statement. Would that be it?
View ArticleForum Post: RE: FirstChanceException logging
You can find SYNC documented under the General Reference-- Managed COBOL-- Statements section here You can place SYNC on the method or you can surround a block of code like: Within an object: SYNC ON...
View ArticleForum Post: RE: COBOL instrumentation in Visual Studio
Instrumentation is built in to Visual Studio, and appears to work on parts of COBOL code, but not all. Is the Micro-Focus answer to this that we have to purchase DevPartner to get full...
View ArticleForum Post: Splash Screen
Hello, How can I make a splash screen? I am starting no with Visual COBOL and not much knowledge of Visual Studio. Any code example would be appreciated.
View ArticleForum Post: RE: Splash Screen
For what type of application, Windows Forms, WPF, ASP.NET? What did you want to display on the splash screen, bitmap, progress bar, etc.?
View ArticleForum Post: Product license error
We have converted NX based dialog system to Visual cobol dialogs and generated the application dll’s using Visual studio 2013 and it works good as expected in my development environment . I have...
View ArticleForum Post: RE: Product license error
Please review this POST as it may provide an answer, if it does not, please email your product mainteannce Serial Number and the details of this post to SupportLine@MicroFocus.com.
View ArticleForum Post: RE: Product license error
If you created these .dlls using Visual COBOL for Visual Studio 2013 then you need to run these using the COBOL Server 2013 product and not the COBOL Server 2012 product. If you want to install your...
View Article