Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Windows API calls from managed code

$
0
0

After coding the following, the WinAPI call works although I get the exception below in my event log when I execute "SET MYPOINTER":

     $set noilnative

     $set ilpinvoke"kernel32"

     $set ilpinvoke"gdi32"

      01 MYPOINTER                            PROCEDURE-POINTER.

       SET MYPOINTER TO ENTRY "kernel32.dll"

"Could not load file or assembly 'file:///C:\windows\system32\kernel32.dll' or one of its dependencies. The module was expected to contain an assembly manifest."


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>