06-26-2014 12:14 PM
Hello,
I am modifying an existing LabView wrapper project, I added one function, and even though I used the same export settings as it is used for all other function, only the new function name appears mangled.
The DLL code:
#ifdef OS_WINDOWS # define EXPORTSPEC extern "C" __declspec ( dllexport ) #else EXPORTSPEC int S7API lv_Srv_RegEvents(S7Object Server, LVUserEventRef *EventRef, PSrvEvent EventData);
The Call library dialog:
Even if the function itself is empty, LabView still fires the general memory corruption error.
Please help.
Solved! Go to Solution.
06-26-2014 12:26 PM
06-26-2014 12:28 PM
I notified to moderator to delete one.
06-26-2014 12:32 PM
Oh me,
the S7API definition ment __stdcall
now it works nicely...