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, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan

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

PXCp_VariantGetString documentation question

Post by wings software » Mon Sep 03, 2012 9:08 am

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: 13591
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: PXCp_VariantGetString documentation question

Post by Tracker Supp-Stefan » Mon Sep 03, 2012 11:23 am

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: 19
Joined: Mon Apr 23, 2012 12:38 pm

Re: PXCp_VariantGetString documentation question

Post by wings software » Mon Sep 03, 2012 11:24 am

Thanks! :)

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

Re: PXCp_VariantGetString documentation question

Post by Tracker Supp-Stefan » Mon Sep 03, 2012 11:29 am

:)

Post Reply