This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Access a method in a .dll

My goal is to access a method in C++ or C# .dll file. I have performed the following in C++,
however unable to get the expected output.

1. Created a C++ Sample.dll to display "Hello World" on the console.
2. Release Sample.dll and Sample.lib into my COBOL working folder.
3. Accessed the .dll and the method from AcuCobol program using CALL.
4. Didn't show any exception while accessing the .dll or the method.
5. However "Hello world" is not getting displayed.
6. Also, how to pass a value into a function in the .dll and return the processed value.

Please advise.


Thanks,

Aji Cherian

Parents
  • 0

    You might want to look at our sample\dotnet\netdb directory and sample.

    SW Engineering(QA)  

    Although I am an OpenText employee, I am speaking for myself and not for OpenText.
    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button

  • 0 in reply to 

    Hi. This is probably a stupid question, but where is the sample\dotnet  directory found? I used to get a sample directory when I installed AcuCobol, but don't see it for recent versions?

Reply Children