LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using user interface features

I'm using Measurement studio 6.0. I have a static library project which has a .uir file and it does many things with it. Also i have another .dll project that calls some of the functions from this static library.
Finally i have one executable project that uses some of the functions from the .dll.

The problem is, from .exe, whenever i call some .dll functions that internally uses any of the functions from the static library, it fails. I found that it is because it is not getting proper panel handles. But in DllMain function, i'm loading the panels by calling LoadPanelEx(). So i assume that whenever the .dll is loaded all the panels are getting loaded properly. Also i have copied the .uir file in my executable path.

Could any body tell m
e whether i'm doing anything wrong here ?

Thanks in advance,
Swamy
0 Kudos
Message 1 of 2
(2,820 Views)
Swamy,

It is hard to say what could be going wrong from the description you posted. Can you send a project (or several as it sounds that there's 2 apps involved) to technical support for us to it check out (http://www.ni.com/ask)?

Thanks,
Azucena
0 Kudos
Message 2 of 2
(2,820 Views)