Hi all.
I am attempting to package a labview application as a dll and call it from visual C++. I have no experience of C++ (only reason I�m am attempting this is to check the dll functions in visual c++ as a customer requires to integrate our labview app into their C++ platform)
I followed the example "Calling a DLL from Microsoft Visual C++ that Was Generated by LabVIEW 6i" as a guide line and had no problem getting this basic example to work.
Our application uses a DIO 32HS 5633 board to implement a BER tester. When I generate the dll and call it in C++ the app runs with no reported error but the BER tester isn't called. (The front panel should show itself when called and the user is required to pre
ss continue before a test is run so app should at least hang if panel was not displayed).
When I package the dll without any of the dio specific vis enclosed the dll runs correctly in C++ (i.e. front panel is displayed). From this it appears to me that it is a daq driver problem. Maybe C++ can�t link properly to LVDaq.dll? Has anyone encountered a similar problem? I am working with LabVIEW7 , windows XP and visual C++ 6.
I have attached the .c , .h and dll file which may shed more light on my problem.
Hope someone out there can help.
t.i.a
dec