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
PXCp_VariantGetString documentation question
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 18
- Joined: Mon Apr 23, 2012 12:38 pm
- Tracker Supp-Stefan
- Site Admin
- Posts: 17929
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: PXCp_VariantGetString documentation question
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
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
-
- User
- Posts: 18
- Joined: Mon Apr 23, 2012 12:38 pm
- Tracker Supp-Stefan
- Site Admin
- Posts: 17929
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact: