LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

need help about a dll with panel function

Hello,
I try to create a DLL file with a graphical panel, and i want to use it on an other platform with visual c++ compiler.
to release this DLL, i use an UI and generate a code with the option : Tools\UI to Code Converter.
now i have a code which can create a user interface without the file .uir
During the compilation there is no error, but when i want to test/execute it on Visual C++, I have an error message : The memory cannot be read, address 0x00000000.
Someone can help me about this? and if you want my project to see the code, i can give it.
thanks.
0 Kudos
Message 1 of 2
(2,698 Views)
Hello

Just to make sure you set up the dll correctly, try running the examples included with CVI that demonstrate how to correctly use a UIR in a dll. You can find this under ..\CVI\samples\dll\gui. Once you have everything working with a UIR file, then I would recommend converting the UIR into code and moving from there.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,698 Views)