I'm trying to utilize a custom dll and have the .lib and .h files that go with it. The header file was modified to define the following:
#define IRDA_COMM_API extern "C" __declspec(dllimport)
The .lib and .h files are included in the project file.
The CVI 7.1 application compiles with no errors, but at runtime (both in debug & executable modes) I get the following fatal error:
"FATAL RUN-TIME ERROR: Unknown source position, thread id 0x0000503C: The external process failied to load properly. Verify that all DLLs used by the debugee were installed in the path".
The dll itself has been manually placed in the (1) project directory and (2) C:\Windows\system32 directories, with no change in behavior.