View Full Version : Custom Dialog in OnAbort()

05-18-2005, 03:01 PM
I am trying to call a custom dialog from OnAbort() in order to give the user several options on handling the abort conditions.

The custom dialog runs OK, but after I exit OnAbort(), I am getting two Unhandled Exceptions:

Error Number: 0x80040707
Description: ISRT.__ReleaseObjectContext


Error Number: 0x80040707
Description: ISRT._ListDestroy

I can get the same errors by calling a standard dialog from OnAbort(), like sdStartCopy2().

Is there something I need to initialize or clean up for this to work correctly?


05-18-2005, 05:06 PM
Figured it out myself!

I was testing my OnAbort() code by inserting an abort command inside one of my other custom dialog scripts.

Seems like nested dialogs is a no no.


07-10-2006, 01:05 AM
i was catched in the same problem and how can i solute it?