Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [V8i SS2 MDL/C++] Exiting an MDL Program

$
0
0

[quote user="Daniel MacNeil"]Is there another way to just unload the app?[/quote]

My apps. always have an exit command, which does this...

mdlDialog_cmdNumberQueue (FALSE, CMD_MDL_UNLOAD, mdlSystem_getCurrTaskID (), TRUE);

When you queue an unload command, your app. will have an orderly shutdown rather than an abrupt exit.  For example, your OnUnload event handler will be called, giving you an opportunity to save settings or data before the app. finally quits.


Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>