08-14-2023 02:34 AM - edited 08-14-2023 02:36 AM
Hi all,
I have created a C++ DLL for Labview, but it generates error 1097 for this part of code mgr.Open() and after that, below is my code
it works fine in visual studio.
08-14-2023 03:05 AM - edited 08-14-2023 03:08 AM
The Call Library Node only can call exported standard C functions. It can not know about C++ object pointers nor any of the C++ object data types.
There are not only to many of them that the Call Library Node ever could support them, but the exact implementation of these things is compiler specific.
You need to write a wrapper DLL, that calls the C++ methods and exports standard C compatible functions with standard C compatible parameters.
08-14-2023 05:05 AM - edited 08-14-2023 05:26 AM
Hello Rolf Kalbermatter,
I will try it , thanks
Regards,
Tushar
08-15-2023 02:11 AM - edited 08-15-2023 02:19 AM
Hello Rolf Kalbermatter,
I have written a wrapper but still i'am not getting it , below is my code it cause error whenever i add mgr.open()
Regards,
Tushar