- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a console app that accesses database routines in a dll. Before the program terminates I need to call a routine in the dll to de-initialize and close database connections. When a user breaks out of the program using Control-break I don't get a chance to call the routine and end up with an access violation. Is there a way to catch or prevent control-breaks before the program is terminated?
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page