LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

unable to load resources (Dialog Box) contained in DLL

I have created a DLL (using MS dev studio, VC++ 32 bit DLL)  containg resourses Dialog box. In my LabWindows/CVI application I'm calling this DLL function and there is no problems. However the Dialog Box is not appearing and the rest of the code in the DLL function like MessageBox() is executing. If I use LoadLibrary() function and when I include <windows.h> header file there are plenty of errors while compiling. So unbale to proceed further. I'm able to use this DLL function in any other applications I developed using MS Dev studio in VC++.
 
 Thanks & Regards,
  Joy.
 
0 Kudos
Message 1 of 2
(3,375 Views)
thanks for the timely & quick support from NI support Engineer. There was no problem as such with DLL or calling methods. the solution to problem was sequnecing the include .h files, as CVI also use same functions names as that of windows.h
 
 Thanks,
Joy (Putta).
0 Kudos
Message 2 of 2
(3,359 Views)