Board index » cppbuilder » ASSERTE and utilcls.h - was this ever solved?

ASSERTE and utilcls.h - was this ever solved?


2005-09-26 10:25:31 PM
cppbuilder99
Hi,
I am having trouble with _ASSERTE IsBound messages popping up, after I thought I
had solved the problem for good using the NO_PROMPT_ON_ASSERTE_FAILURE #define
on a project- and component-wide basis. It seemed fixed for the better part of a year, but has now
started cropping up again after I moved some code for Word automation into my component
package.
Was this ever solved for BCB6, or am I stuck? I seem to recall there were alternative
versions of utilcls.h, that would just throw an exception instead of dropping the dialog
on the screen, but surely they should be updated to BCB6 before use, and anyway
I have been unable to finde instructions as to how to use them.
Anyone able to help me out?
Sincerely,
Anders S. Johansen
 
 

Re:ASSERTE and utilcls.h - was this ever solved?

"Anders Johansen" < XXXX@XXXXX.COM >wrote:
Quote

Hi,

I am having trouble with _ASSERTE IsBound messages popping up, after I thought I
had solved the problem for good using the NO_PROMPT_ON_ASSERTE_FAILURE #define
on a project- and component-wide basis. It seemed fixed for the better part of a year, but has now
started cropping up again after I moved some code for Word automation into my component
package.
Answering preliminary to myself:
Re-declaring the macros ASSERTE and _ASSERTE to instead throwing an Exception seems
to have done the trick. I am still worried about whether this is a suitable solution
without unforseen consequences, and so would like some feedback if anyone has
insights in this.
A