LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Program can't be closed

Dear All,
 
I have two problems when I develop one program,
 
1) the program begin, only one main panel display, but two small window show on the task bar.
 
2) I assign "QuitUserEvent()" to a control, but when I click the control, the panel close, but the small window on the task bar can't be stopped.
 
I use LabWindows6.0 and windows Xp as OS.
 
Thanks for your care!
Best regards
Jaman
Developing Test Sepcialist
0 Kudos
Message 1 of 4
(3,560 Views)
1) I'm using 8.0.1, but I would assume there is something similar to the following line:
    "SetSystemAttribute (ATTR_TASKBAR_BUTTON_VISIBLE, 0);"
put that line before the call to "InitCVIRTE" in your main function and it should remove one of the taskbar buttons

2) are you sure the program is actually exiting or are you just calling discardpanel?
Message 2 of 4
(3,533 Views)
Dear Gtoph,
 
Thanks very much!
 
For (2), I'm sure I used is "QuitUserInterface()", I'm sorry I take this as "QuitUserEvents" at the beginning, and today I try again, I got the error caution panel as the attachment show, please check!
 
Best regards
Jaman
Developing Test Sepcialist
0 Kudos
Message 3 of 4
(3,519 Views)
Hello,
 
I meet another problem when close another program, it show the caution panel as the attachment, the caution is in Chinese, it means the RAM "0x00fb5150" called by command "0x10014b1c" is not be "read", to terminal the program, click "confirm"!
 
I don't know what's wrong, thanks very much for your attention and your suggestions!
 
Best regards
Jaman
Developing Test Sepcialist
0 Kudos
Message 4 of 4
(3,467 Views)