Forum Post: RE: Windows API calls from managed code
Your first suggestion produced no errors. I really don't need to set a procedure pointer. I only needed to add these lines to the top of the program: $set ilpinvoke"kernel32" $set...
View ArticleForum Post: RE: Windows API calls from managed code
You should do either the $set ilpinvoke"kernel32" or the set proc-pointer statement but not both.
View ArticleForum Post: Calling Windows API from managed COBOL
Hello, I need to call Windows API function from managed COBOL. In native COBOL I'd write something like environment division. special-names. call-convention 74 is WAPI. ... working-storage section. 01...
View ArticleForum Post: Mapping events in COM object
Hello, (thank you very much for reply on my first question. It works.) I have this problem. I've been creating COM object in Visual COBOL that should create some visual object in window originally...
View ArticleForum Post: RE: VC 2.1 to 2.3
We created support incident 2878817 for this and I was able to reproduce the problem in a small cutdown managed app so I created an RPI for this and sent to development. There appears to be a problem...
View ArticleForum Post: RE: Calling Windows API from managed COBOL
You can still call Windows APis from managed code and you can still use TYPEDEFs such as WORD, DWORD etc but there is a problem when trying to use them as defined in windows.cpy which is not meant for...
View ArticleForum Post: RE: Calling Windows API from managed COBOL
Actually, the problem with the Windows.cpy is that it is using a few data-names that are now COBOL reserved words. This can be remedied so that you can use Windows.cpy in managed code by removing...
View ArticleForum Post: RE: Mapping events in COM object
Can you please clarify what you mean by COM here? Is the C# class really registered as COM or is it a .NET class that is instantiated and invoked from within the managed COBOL class? How do you call...
View ArticleForum Post: RE: VC 2.1 to 2.3
Maybe Dijsktra was right... :-) http://www.u.arizona.edu/~rubinson/copyright_violations/Go_To_Considered_Harmful.html
View ArticleForum Post: inherits from superclasse with data.
My superclasse have a FD, like this: . . . End class-object. Object. Input-Output Section. File-Control. SELECT arqSYSCONF ... File Section. FD arqSYSCONF ... Object-Storage Section. 01 InstanceData...
View ArticleForum Post: How to Convert Pdf to Base64 and Back to Pdf
(Please visit the site to view this video)
View ArticleWiki Page: An indexed file OPEN OUTPUT creates only the .dat file, not the...
Problem: Using Visual COBOL, a program that opens an indexed file for OUTPUT creates just one file on disk, as opposed to the behavior in earlier versions of MF COBOL, where two disk files were...
View ArticleWiki Page: Compilation error: Operand time-of-day is not declared
Problem: When compiling a program, the following error is reported by the compiler: Operand time-of-day is not declared Resolution: In both the Server Express documentation and the Visual COBOL...
View ArticleWiki Page: Error running cesadmintool.sh: "Java not present on PATH(or wrong...
Problem: While trying to run the Micro Focus License Administration utility /var/microfocuslicensing/bin/cesadmintool.sh, the following error appeared: Micro Focus License Administration...
View ArticleWiki Page: The FaultFinder tool appears to be missing from Visual COBOL
Problem: Under Visual COBOL, the tool named FaultFinder appears to be absent. Resolution: The FaultFinder tool, which had been available in the Server Express and Net Express products, has been...
View ArticleForum Post: RE: Mapping events in COM object
I read your answer, studied many various codes and try to make it by myself but I failed. So... The problem is that I want to create the ribbon object instead of window menu and toolbar into my...
View ArticleForum Post: Select Case
This works in Oraedit, but now I'm trying to add it to cobol (as embedded) and can't even get it to compile... EXEC SQL SELECT case when TO_CHAR(C.HOLLYDATE,'MM-DD-YYYY')...
View ArticleWiki Page: Using files defined as EXTERNAL with Visual COBOL
Problem: Many Visual COBOL projects may use the same EXTERNAL data files, this usually would require setting an environment variable for each file within an Application.config. How can these file...
View ArticleForum Post: RE: Select Case
What SQL precompiler are you using, OpenESQL or Pro*COBOL? This code is Oracle PL/SQL code and will not be recognized by OpenESQL as being valid. I am not sure if it is supported by Pro*COBOL but it...
View Article