LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LocalizePanel() hangs

I've a big problem with LocalizePanel function. An assertion occurs each time I used my application. I can't reproduce the pb in a little application. I loads panel from a DLL with LoadPanelEx() and just call LocalizePanel() after that with a good panel and a good lwl file. Here's the message :
Assert !
Programming error detecting.
The error was detected on line 1371 of file 'uiobjects.c'.

What's the problem ?
0 Kudos
Message 1 of 6
(3,378 Views)
Hello

Check your panel to see if you have any recessed narrow frame decoration controls. Remove all instances of this decoration from the panel. This is how a fixed a similar problem that was occuring with the CVI GUI Localization utlity. I went thru and starting removing a UI component at a time and isolated the problem to a specific type of component.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 6
(3,378 Views)
Hello,

I've no pb to localize that panel in another (very simple) application. I don't think the pb comes from a ctrl.
I've that pb only with Win2000.

I'll check again what you said.
0 Kudos
Message 3 of 6
(3,378 Views)
I've just found out that the pb comes from an hidden TV ctrl that I use to store messages.But I don't understand why I've no pb with the same panel in a very simple application.When I delete that ctrl, it works !.Of course I need that ctrl.What can I do ?
0 Kudos
Message 4 of 6
(3,378 Views)
Is this an activex control? Its unusual why the same control would work correctly in another panel and noton this one. If it is not an activex control, could you send me a small sample that I could test on my machine? You could also download the eval version of CVI 7.0 from here and see if the problem occurs in the newer version as well.

Bilal
Bilal Durrani
NI
0 Kudos
Message 5 of 6
(3,378 Views)
I use already CVI7.0. I've just found out what happens.I have both CVI6 and CVI7 on my PC and my application have a lot of DLLs. One of them use localui.fp from cvi6 !

thank you for your help.
0 Kudos
Message 6 of 6
(3,378 Views)