[VSDK Macho/PB 1.9.6]

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Jan 24 20:25:52 CST 2003


on 1/24/03 4:53 PM, Totte Alm at totte at code66.se wrote:

Hi Totte,
> 
> OK, I got another great speed performance done, but I was experiencing
> another strange problem on the way there....
> 
> I had a field type VDK_ULong,
> I search for that field using a cursor, but did short idx =
> mc->GetShort();
> This returned 0 for every item, eventhough they were in the range
> between 1 and 2.
> Shouldnt I have gotten correct number???

No, because if you looks into GetShort() you need see dynamic_cast<>
Into VDK_Short, but you say you use VDK_ULong.

> But when I found that it was a ULong field, changed to UInt32 idx =
> mc->GetULong() and it all worked.

-- 
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://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list