Skip to main content

[Migrated content. Thread originally posted on 09 September 2005]

I have to write software to catch the weight of a weighscale. In the software of the weighscale, there are 3 files delivered.
...OCX - ...IDL - ...TLB.

Since I don't have any knowledge of Visual Basic or C; I think these IDL & TLB files are to be used by these languages or not ?

Otherwise, does these files mean anything to AcuCobol and what do I have to do with them ?

[Migrated content. Thread originally posted on 09 September 2005]

I have to write software to catch the weight of a weighscale. In the software of the weighscale, there are 3 files delivered.
...OCX - ...IDL - ...TLB.

Since I don't have any knowledge of Visual Basic or C; I think these IDL & TLB files are to be used by these languages or not ?

Otherwise, does these files mean anything to AcuCobol and what do I have to do with them ?
You only need the .ocx for end users.

The IDL is an Interface Definition Library file and the TLB is the Type LiBrary file.

Certainly the IDL file is not needed for Acucobol development. The Microsoft IDL compiler (MIDL.EXE) compiles the IDL into the TLB file.

I don't know for sure if AXDEFGEN uses the TLB file or not to generate the .DEF file - I suspect not.

[Migrated content. Thread originally posted on 09 September 2005]

I have to write software to catch the weight of a weighscale. In the software of the weighscale, there are 3 files delivered.
...OCX - ...IDL - ...TLB.

Since I don't have any knowledge of Visual Basic or C; I think these IDL & TLB files are to be used by these languages or not ?

Otherwise, does these files mean anything to AcuCobol and what do I have to do with them ?
AxDefgen does not use the typelibrary file. .OCX is all that is required.

For general information; Note that ActiveX may also appear as .DLL.

So, if interfacing an ActiveX, what you need is a file with the extension .OCX or .DLL.