Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3197

How to convert cmd_register.odl to tlb file

$
0
0

Dear Colleagues,

 

my problem: In order to become familar with the conversion of *.odl files to *.tlb, I tried to start with the given DIAdem example file CMD_register.odl (see DIAdem Script Help: ScriptCMDRegister).

So I used MIDL.EXE (8.00.0595) and the corresponding cl.exe, both of MS-Vis10.0, to convert the cmd_register.odl file. This resulted to an error message by the midl.exe: command line error MIDL1001 : cannot open input file oaidl.idl.

According to the help on MIDL it should be possible to convert *.odl files instead of *.idl files also. But this seams not to be correct to 100%.
As I do not have a idl-version of this example CMD_register.odl, I wonder if it is possible to get an idl-version of CMD_register.odl from NI, or any information about what else I could do in order to convert the odl to tlb successfully. I need this proceedure for further developments of user command classes for DIAdem VBS.

 

Any help is appreciated!!

 

Thanks a lot in advance and with best regards


Viewing all articles
Browse latest Browse all 3197

Trending Articles