createVarCharField crash

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Nov 18 07:21:06 CST 2004


On 11/17/04 1:52 AM, "jda" <jda at his.com> wrote:

>   Ruslan,
> 
> I've adapted this code from my 1.x-based app. It creates a temporary
> method that should return one of three fields (depending on if any
> are NULL or not).
> 
> fld is dimmed as a VField (although I've also tried VVarChar). When
> this line is run it crashes:
> 
> 
>     fld = 
> myDatabase.myReferences.createVarCharField("authorEditorSortMethod",
> 2000, "en_US", EVFlag.fNone, "if (authors IS NULL, if (editors IS
> NULL,title,editors),authors)")
> 
> 
> The crash log is
> 
> Thread 0 Crashed:
> 0   Kernel_Carbon_Final.shlb        0x0209d24c 0x2008000 + 0x9524c
> 1   Kernel_Carbon_Final.shlb        0x02038a08 0x2008000 + 0x30a08
> 2   Kernel_Carbon_Final.shlb        0x02272248 0x2008000 + 0x26a248
> 3   Kernel_Carbon_Final.shlb        0x02037bcc 0x2008000 + 0x2fbcc
> 4   Kernel_Carbon_Final.shlb        0x0203772c 0x2008000 + 0x2f72c
> 5   Plugin                          0x004f6620
> Table_CreateField_Simple__FP16REALobjectStructP16REALstringStructiiP16REALstri
> ngStructQ23fbl29smart_ptr<Q23fbl10I_Property>Q23fbl29smart_ptr<Q23fbl10I_Prope
> rty> 
> + 0x514
> 
> 
> 
> Is this a problem with my code? Or is it a 2.x bug that I should report?

Is it fixed in b27, Jon?


-- 
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