[ANN] V4RB b13.

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Aug 28 16:08:26 CDT 2004


On 8/28/04 3:44 PM, "jda" <jda at his.com> wrote:

>> 
>> 
>> Does work my examples from Common folder on your side ?
>> 2 examples with Locale prefix ?
> 
> Yes, they don't crash at least.
> 
>> 
>> 
>> --------
>> BTW, important.
>> 
>> Now ValentinaInit() really must be the first call to Valentina engine.
>> 
>> You cannot use before it even DeugLevel()
> 
> I do.

So now that crash gone ?
 

> OK, more funny stuff. My preferences file is a Valentina database.
> When populating it I use a cursor to create records and set defaults.
> It crashes on the last line:
> 
>    myCursor = nil
>    myCursor = new VCursor(prefsDB, "select textField from prefs
> where propertyName='gReferenceTypes'", Valentina.kServerSide,
> Valentina.kReadWrite)
> 
>    //do stuff with myCursor
> 
>    myCursor = nil
> 
>    // next line crashes....
>    myCursor = new VCursor(prefsDB, "select * from prefs where
> RecId=0", Valentina.kServerSide, Valentina.kReadWrite)


I will check such query, but!

Official way for Valentina 2.0 to get empty cursor is

    ... WHERE false

Please try this.


> The crash log is:
> 
> 
> Thread 0 Crashed:
> 0   Kernel_Carbon_Debug.shlb          0x0253d310
> _cl__Q23fbl27Predicate_Field_Equal_ValueCFQ23fbl26smart_ptr<CQ23fbl7I_Value>

-- 
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-beta mailing list