myCursor = nil -> crash
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon May 2 16:13:58 CDT 2005
On 5/2/05 4:06 PM, "jda" <jda at his.com> wrote:
Hi Jon,
> I just found out that something in the latest 2.0.3 builds crashes
> code that has worked for all previous builds.
>
> I create a temporary database and temporary cursor (meaning, neither
> are written to disk):
>
> refDB = new myDatabase
> myCursor = new VCursor(refDB, "select * from thereferences where
> false", EVCursorLocation.kServerSide, EVLockType.kReadWrite) //make
> an empty cursor
Do you mean that this should product RAM - based database ?
Then you need
refDB = new myDatabase( EVStorageType.kRam )
> if myCursor <> nil then //fill cursor with example values
> myCursor.setBlank
> myCursor = fillMyCursorExample(myCursor)
>
> ...do stuff...
>
> and when it's finished,
>
> myCursor = nil
> refDB = nil
--
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-beta
mailing list