Skip to main content

Difference between AcuGt.Interop.dll and Interop.AcuGTObjects.dll

  • March 27, 2012
  • 1 reply
  • 0 views

[Migrated content. Thread originally posted on 26 March 2012]

Hello!

We have an integration going on with another system, a C#-written program. This calls a COBOL program using acugt.exe and the AcuGt class for this.
When this was written, we used AcuCobol 8.1.0. When I look at the reference list in C# project, the references name is "AcuGT.Interop" and it uses a file AcuGT.Interop.dll. This is also copied to the lib folder in the C# project.

After this, I have installed AcuCobol 9.1.0.
If I now tries to add an reference, the reference name is "AcuGTObjects", using a file Interop.AcuGTObjects.dll. It seems that this two files is slightly different, and has slightly different classes. When i look at them, they are both of version 8.1.0.

I have registered the COM interface for acugt.exe both in version 8.1.0, and in 9.1.0. The latest version uses the latest dll, that the C# code is not written for.

So I just wonder, what is the difference between this two dll`s ?
And, leading to next question; if AcuGT.Interop.dll is an old file not used anymore, does this mean I must rewrite the C# project in order to fit the new classes in Interop.AcuGTObjects.dll ?

Regards
Dagl

1 reply

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • March 27, 2012

[Migrated content. Thread originally posted on 26 March 2012]

Hello!

We have an integration going on with another system, a C#-written program. This calls a COBOL program using acugt.exe and the AcuGt class for this.
When this was written, we used AcuCobol 8.1.0. When I look at the reference list in C# project, the references name is "AcuGT.Interop" and it uses a file AcuGT.Interop.dll. This is also copied to the lib folder in the C# project.

After this, I have installed AcuCobol 9.1.0.
If I now tries to add an reference, the reference name is "AcuGTObjects", using a file Interop.AcuGTObjects.dll. It seems that this two files is slightly different, and has slightly different classes. When i look at them, they are both of version 8.1.0.

I have registered the COM interface for acugt.exe both in version 8.1.0, and in 9.1.0. The latest version uses the latest dll, that the C# code is not written for.

So I just wonder, what is the difference between this two dll`s ?
And, leading to next question; if AcuGT.Interop.dll is an old file not used anymore, does this mean I must rewrite the C# project in order to fit the new classes in Interop.AcuGTObjects.dll ?

Regards
Dagl
rewrite the C# project in order to fit the new classes? I believe that you do.

There may not be very much difference between the V 8 and V 9 version. V 9.1 was built with Visual Studio 2010, whereas V was built with Visual Studio 2005.