02-17-2006 10:31 AM
"Error generating type library. Mktyplib.exe failed while compiling the odl file used to create the type library. Note: The error indicates that the odl file has unknown types. This error is possible when functions with non-standard types are exported using the export qualifier method from files in release configuration that have not been recompiled during the build process. You can mark all files for recompilation and repeat the build .To avoid this situation, it's recommended that you export these functions using the include file method.
You can save the odl file and then use the odl file with the command line: "c:\program files\national instruments\cvi71\sdk\bin\mktyplib.exe"/win32/nocpp/tlb interface_dbg.tlb" "interface\interface_dbg.odl" to see what error s mktyplib.exe reported. Do you want to save the odl file now?
If you choose to save the odl file, the command line dispalyed aboe will be copied to the clipboard
Then it doesn't compile a dll, just saves a odl. What is wrong with my set-up? I have built many dlls before. This is the first time I had to include the userinterface api, and cvicallback functions. If anyone can tell me what this error means, and how to fix it I’d appreciate it.
02-19-2006 04:48 AM
Either call the library something else, or if you don't need the type library turn it off.
Martin.
02-21-2006 10:14 AM