Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66905

Mangled function name in Call library function node

$
0
0

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:

 

CallLibrary.png

Even if the function itself is empty, LabView still fires the general memory corruption error.

 

Please help.


Viewing all articles
Browse latest Browse all 66905

Trending Articles