12-10-2006 09:11 AM
12-11-2006 05:43 AM
@zivmer wrote:
hiei am trying to use a dll based on c++ programing using classes.the only functiones that i can see / rich are the ones outside the class .why ?how can i rich the ones that are inside it ?i have the cpp and the h files . can i use them insted ?regardszivmer
You can't. LabVIEW's Call Library Node can only access global C style functions exported through the DLL export table. C++ functions are normally not exported at all but instead accessed through the method table of an object. Since the C++ binary interface is compiler dependant supporting such an interface would be very difficult for LabVIEW.
Your options are to use ActiveX instead, if your dll supports that, or write a standard C wrapper library that translates the C object methods into standard C function calls and export them from your DLL.
Rolf Kalbermatter