Hi
I wrote a DLL file from visual C++ and I test run it in Visual C++, it's running fine. I stick it to labview by using call library function node, and run it. I got an error
Debug Assertion Failed!
C:\Program Files\National Instruments\LabVIEW 7.1\LabVIEW.exe
File afxwin1.inl
line 19
I tried both C and standard call (WINAPI), they don't work.
this is from the h file that I export
extern "C" int PASCAL EXPORT StartSessionWrapper(CString* SessionName);
extern "C" int PASCAL EXPORT ReceiveDataFromServerWrapper(CString* Data);
extern "C" int PASCAL EXPORT SendDataToServerWrapper(CString* Data);
extern "C" int PASCAL EXPORT CloseWrapper();
Anyone has any idea why this error happens and how I can fix it?