V4MD Valentina Initialization

Sean Wilson snw at paradise.net.nz
Thu Aug 17 10:42:08 CDT 2006


If you look at any of the example files that ship with V4MD you'll 
see how to implement the initialisation.
In short, you need to create an instance of the xtra "Valentina" and 
store it in a global or property variable for later use. Then you 
call its init() method feeding it appropriate parameters:
on mInitDbEngine
   global gValentina
   gValentina = xtra("Valentina").new()
   gValentina.init(cacheSize, serialNumber/s)
   -- ...
end

Hope that helps,
-Sean.




More information about the Valentina mailing list