Casting VObjectPtr
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Aug 28 02:30:20 CDT 2006
On 8/27/06 10:50 PM, "Steve Albin" <steve at steve-albin.com> wrote:
Hi Steve,
> I just upgraded to V4RV 2.4.1 from one of the 2.3 versions and now I am having
> a problem with ObjectPtrs.
>
> For years I've had this code and now it gives me an IllegalCastException:
>
> VObjectPtr(cursor.Field(10)).value = pnLabelPtr
Strange. And field(10) returns really the same field of ObjectPtr type ?
Please check
fld = cursor.Filed(10)
fld.type
fld.name
> I just changed to the following and it works:
>
> cursor.Field(10).value = pnLabelPtr
This works because Valentina 2.0 support Vfield.Vaule as Variant.
> Did I miss some kind of feature change?
No, sounds strange. We did not check anything here of course.
It needs check as above I ask
--
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
mailing list