I'm trying to generate a DLL with a type library for use with teststand...
Basically I have a whole series of activeX/com components that I can create 'instrument' libraries for using the activeX controller wizard.. I can call these libraries from CVI no problem, and everything works as expected. The next step would be to call the same methods from within teststand, and rather than have to write wrappers in CVI to take the teststand CVI adapter parameters, I'd like to make each of these libraries into DLL's that the TS DLL adapter can access. I want to include the type library in the DLL so that TS can pull out the parameters...
If I try and create the dll, it errors when creating the TLB file. manually running the OD
L file through mktyplib.exe show that CVI is adding some variable definitions that are defined elsewhere, so after removing them and generally hacking the odl around a bit, I can get the tlb file ok... However, I'm now at a loss... how do I get CVI to not try and generate it's own tlb & odl files again when I create the dll?
(btw I'm also using cvi 6.0 beta in case that complicates matters)