Skip to main content

Calling C# from AcuCobol

  • Sep 1, 2015 1:58 PM UTC
  • 1 reply
  • 20 views

Would anyone be willing to share an example of C# program built into a DLL (the documentation suggests this is the best method) and called from an AcuCobol program. I need to be able to pass in various variables and return various types of data to my AcuCobol program.  I am having trouble finding good examples included in AcuCobols samples.  Thanks.

1 reply

Stephen Hjerpe
  • Participating Frequently
  • Sep 1, 2015 2:18 PM UTC

Would anyone be willing to share an example of C# program built into a DLL (the documentation suggests this is the best method) and called from an AcuCobol program. I need to be able to pass in various variables and return various types of data to my AcuCobol program.  I am having trouble finding good examples included in AcuCobols samples.  Thanks.

Have you looked at the .Net sample

C:\\Program Files (x86)\\Micro Focus\\Acucbl925\\AcuGT\\sample\\dotnet\\NETOBJECTS this is an example of COBOL calling C# dlls.