Page 1 of 1

PXCp_VariantGetString documentation question

Posted: Mon Sep 03, 2012 9:08 am
by wings software
Hi,

Do I have to release the string handle returned by PXCp_VariantGetString() or not? My impression is *not*, because the application crashes when I PXCp_StringDelete() the string handle, however, the documentation is not clear over this.

TIA,

Jan

Re: PXCp_VariantGetString documentation question

Posted: Mon Sep 03, 2012 11:23 am
by Tracker Supp-Stefan
Hi again Jan,

And the reply here is that "you should not delete this handle, it's not a copy but a reference to the original string."

Best,
Stefan

Re: PXCp_VariantGetString documentation question

Posted: Mon Sep 03, 2012 11:24 am
by wings software
Thanks! :)

Re: PXCp_VariantGetString documentation question

Posted: Mon Sep 03, 2012 11:29 am
by Tracker Supp-Stefan
:)