Severe disappointment

Andy Fuchs andy at foxwerk.de
Fri May 30 10:29:06 CDT 2003


at 30.05.2003 4:02 Uhr, Zav - Alex Zavatone wrote:

> Dealing the crashes every 5
> to 15 minutes and not using the message window to test my code (as

Zav, please tell me you're joking here... what's so  hard to do something
like:

global gVInited

on VerifyValtentina
  if gVInited <> 1 then
    InitEverything
  end if
 return gVInited
end

------------

on InitEverything
   ValentinaInit()
   gVInited = TRUE
end

on DeInitEverything
  --- whatever
end

on prepareMovie
  InitEverything
end

on stopMovie
  DeInitEverything
end

and upon opening a database simply put the requested if-statement yourself:

if VeryfyValentina() then
  openmydatabasestuffgoeshere()
end if


If you have multiple Dir-files, then just put the Deinit-Code from stopMovie
to a quitHandler. That's it... you will never crash

-- Andy Fuchs
-- silent movie media
-- mailto:andy at foxwerk.de
-- http://www.silent-movie-media.com

-------------------------------------

Helfende Hand benötigt? -> Im August hätte ich noch Zeit...
Need some helping hand? -> I'm free in August...




More information about the Valentina mailing list