LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

first-chanche exception in CVIRTE.DLL

Using Labwindows/CVI User Interface Library in a MS VC++6.0 project, with a 1600x1200 resolution CVIRTE.dll throws an exception when calling a LoadPanel() function:

"first-chance exception in PCScanTool.exe (CVIRTE.DLL): 0xC0000005: Access Violation"

int CLabWnd::MyLoadPanel(int nPnlHnd,char filename[],int nPnlResId)
{
int nErr;
nErr = LoadPanel(nPnlHnd,filename,nPnlResId);
AddErrorString(nErr,"- Modulo LabWnd.cpp Classe CLabWnd Metodo MyLoadPanel");
return nErr;
}

The problem doesn't appear with different resolutions.
0 Kudos
Message 1 of 5
(3,319 Views)
Hello

Which version of CVI are you using? and Which OS? Do you have a test app I can use to reproduce the problem?

Thanks

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 5
(3,319 Views)
And another standard question: do you have the latest video driver for your video card?
0 Kudos
Message 3 of 5
(3,318 Views)
The version of CVI is 6.0.
The OS is XP Home.
The test application needs an hardware designed by Upix elettronica s.a.s. and it is not possible to send to you.
0 Kudos
Message 4 of 5
(3,318 Views)
I've attached a project i used to try and replicate the problem. Let me know you you can build this and use it to see the problem on your machine.

I didnt see this happen on my machine. I have XP Pro, tried it with CVI 6 and 7.

Thanks

Bilal
Bilal Durrani
NI
0 Kudos
Message 5 of 5
(3,318 Views)