LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

getting program exception 10% of the time

I am getting program exception about 10% of the time on the line below. It happens on both the development machine under the debugger and on the target machine after being installed there. The exception is something about memory being accessed at 0x0.

if((panelListLoad7 = LoadPanel (0, "managment.uir", PANCAMP))<0)
{
ConfirmPopup ("error", "missing managment.uir file");
exit(0);
}
0 Kudos
Message 1 of 2
(2,416 Views)
I will say log the exact failure code if LoadPanel fails. Missing UIR is
only 1 of many symptoms if LoadPanel fails. If LoadPanel fails (where you
have the valid UIR file), then probably your confirmpopup is not going to
work either.



vishi

"Woolie Willie" wrote in message
news:5065000000080000002A770000-1042324653000@exchange.ni.com...
> I am getting program exception about 10% of the time on the line
> below. It happens on both the development machine under the debugger
> and on the target machine after being installed there. The exception
> is something about memory being accessed at 0x0.
>
> if((panelListLoad7 = LoadPanel (0, "managment.uir",
> PANCAMP))<0)
> {
> ConfirmPopup ("error", "missing managment.uir file");
> exit(0);
> }
0 Kudos
Message 2 of 2
(2,416 Views)