PXCp_VariantGetString documentation question

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics or PDF-XChange Viewer SDK if appropriate.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
wings software
User
Posts: 18
Joined: Mon Apr 23, 2012 12:38 pm

PXCp_VariantGetString documentation question

Post 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
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17815
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: PXCp_VariantGetString documentation question

Post 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
wings software
User
Posts: 18
Joined: Mon Apr 23, 2012 12:38 pm

Re: PXCp_VariantGetString documentation question

Post by wings software »

Thanks! :)
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17815
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: PXCp_VariantGetString documentation question

Post by Tracker Supp-Stefan »

:)
Post Reply