Skip to main content

Calling C# from AcuCobol

  • September 1, 2015
  • 1 reply
  • 0 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
  • September 1, 2015

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.