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

RE: How to pass parameters from native to managed

$
0
0

Hello Phil,

It looks like you skipped an important step, which is to set the managed project to be registered as a COM server.

Please follow the steps below:

  1. Make sure you open Visual COBOL as administrator
  2. Double-click on the Properties header under the managed class project in Solution Explorer
  3. select the COBOL tab
  4. click on Advanced under Additional directives
  5. check the Register for COM interop option
  6. click OK
  7. save the change
  8. build the solution

You should now be able to call the managed class from the native program.

Regards,


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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