From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
First of all: I build my CVI-application with MS-VC++.
Now the problems.
1) If my program passes "InitCVIRTE", it generates an icon in the windows start bar. On right click on this icon I can close my application. It seems that the program jumps to the end of the "WinMain" function?. But I need to make some cleanup functions. Is there any thing like "atexit" to control this way to close my application?
2) Some Panels generate an icon in the start bar when calling "DisplayPanel" , and some other do not. What is the systematic?
> 1) > If my program passes "InitCVIRTE", it generates an icon in the > windows start bar. On right click on this icon I can close my > application. It seems that the program jumps to the end of the > "WinMain" function?. But I need to make some cleanup functions. Is > there any thing like "atexit" to control this way to close my > application?
The solution I found: InstallMainCallback().
> > 2) > Some Panels generate an icon in the start bar when calling > "DisplayPanel" , and some other do not. What is the systematic? >