I'm building a type library into a DLL I've created using the Intel 9.1 C++ external, optimizing compiler.
When I switched to production mode, compiled (using the Intel compiler) and then tried to build the DLL (with the type library included, and exporting symbols marked for export) I got an error that the first function in my type library was in the FP but it wasn't marked for export (but it was, using DLLSTDCALL DLLEXPORT macros).
I switched over to the native CVI compiler for production mode, and compiled and built the DLL. No errors.
Then I switched back to the Intel compiler, and recompiled and rebuilt, with no errors (!)
There's some mention in the help file about exported DLL symbols identified in binary files (such as the FP). But, I need to use the FP to generate the type library so the DLL can be called from Windows.
I've also noticed that if I use a windows defined data type (INT, or LPSTR, which are macros to CVI data types) in an exported function, the DLL build failed, but after recompiling/building with the native CVI compiler in production mode this problem went away as well.
Should I trust the build with the Intel compiler? The performance improvement with the Intel compiler is dramatic - I'd sure like to be able to use it as NI advertises.
Menchar