LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error while calling a DLL

Hello Everyone,
 
I have made a dll and calling that dll in LabVIEW.
 
When I select a functioni n that dll, in the window where we get the Function Prototype, I am getting some unusal charcters like "?", "@@YAHXZ"  "void ?FindNodesNm@@YAHXZ(void);"
 
In the above dll FindNodesNM is a function which i am trying to call
 
Can anyone tell me why this is so?
 
Thanks in advance
 
Avni
0 Kudos
Message 1 of 3
(2,629 Views)
If I remember correctly I think this has to do with the way you're exporting the symbols for your functions. I did a quick check in the NI KnowledgeBase and came up with this article, which discusses extra symbols in function names if you don't use extern "C" when definining the symbols to export.
0 Kudos
Message 2 of 3
(2,614 Views)
HI,
 
Thanks for ur prompt reply.
It really helped solve my problem.
 
Regards,
Avni
0 Kudos
Message 3 of 3
(2,600 Views)