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?
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!
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!