Crashing after Shutdown

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Jan 27 04:27:50 CST 2007


On 27/1/07 12:11 PM, "Beatrix Willius" <bwillius at gmx.de> wrote:

Hi Beatrix,

> when trying to fix an OutOfBoundsException I found - not for the
> first time - that Valentina crashes after this exception. What do I
> need to do to circumvent this?
> 
> Buggy code:
> theDatabase.Table("Attachment").SetBlank
> ...
> theDatabase.Table("Attachment").Field
> ("AttachmentFileEnding").SetString FileEndings(currentAttachment)
> 'OutOfBounds occurs in the last row because of "FileEndings
> (currentAttachment)".
> 
> This calls the ExceptionHandler, which calls Valentina.Shutdown. And
> then the application crashes with

But why you call Shutdown in ExceptionHandler ??

After Shutdown of course any call to Valentina method can be unpredicted.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list