02-13-2006 06:22 PM
Using CVI 8.0, I am getting a General Protection Fault in the RunUserInterface() command. It doesn't happen right away, but after I use the program a bit. I have checked things with full debugging within CVI but nothing is out of place. I have been using CVI since 3.1 and I don't think I have had this happen before. I have backtracked my recent changes but the crash seems to be here to stay.
02-14-2006 01:29 PM
02-14-2006 01:47 PM
Thank you for the response. I figured out what was happening. I simply loaded a panel with a please wait message and displayed it while doing some processing and then discarded the panel. A few moments after discarding the panel, the program would crash.
temppanel = LoadPanel( 0, "TestProgram.uir", PLEASEWAIT );
DisplayPanel( temppanel );
..
..
DiscardPanel(temppanel);
This was done in the middle of subroutine called by a control callback so I am guessing that CVI is getting confused that a panel was created and discarded within a callback?
I have removed this please wait message and I don't have it crashing.
02-14-2006 02:25 PM
02-15-2006 11:57 AM