25 minutes between crashes. Getting better.

Ruslan Zasukhin sunshine at public.kherson.ua
Mon May 5 10:05:55 CDT 2003


on 5/5/03 3:10 AM, Zav - Alex Zavatone at zavpublic at mac.com wrote:

>>> Valentina appears to crash when entering commands in the message
>>> window if it has not been inited
>>> 
>> 
>> This can happen.
>> If you are not 100% sure of init of Valentina, then start process over.
>> You must exercise very tight control of Valentina.
>> Assume nothing. Expect any mistake by code or user.
> 
> Yes.  I have added an IsValentinaInited call to the beginning of
> every handler that I use to access the DB.  this will abort the
> program lest I mistakenly call a handler form the message window and
> Valentina is not inited.

Zav, actually ValentinaInit must be called ONLY ONCE.

Look into V4MD Examples.
ValentinaInit is called in handler "on movie start"

Yes, Valentina protect self from such many calls of Init,
But you should not do this in CORRECT code..

> I am holding off on property scripts so that I can get through this
> in the simplest (COUGH COUGH) way possible.  Later on when I have my
> head around V, I will be creating parent scripts and movie level
> accessors to the parent scripts.  Right now, I'm trying to "keep is
> simple stupid" but obviously, it's not simple enough for my brain
> cell to handle.
> 
> In the immortal words of luminaries of the last century, "we thank
> you for your support."

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list