"wcautil" is built on top of "dutil".  "WiX Custom Action Utility library" has 
only MSI related stuff.  "Delivery Utility library" has a bunch of functions 
that I've collected in the many years I've been writing C++ stuff (you can find 
some old stuff that is of questionable quality sometimes <smile/>).

ReleaseStr() is part of dutil's "strutil.cpp/h".



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Juricic
Sent: Tuesday, May 27, 2008 12:35
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How are strings allocated by Wix released these days?

I've seen sample code in blogs like:

hr = WcaGetProperty(L"SQLSERVERPASSWORD", &pszPassword);
    ExitOnFailure(hr, "Failed to get property");
 .....

LExit:
.....
    ReleaseString(pszPassword);

and I started following this style in my custom actions. However, I
don't know how are strings supposed to be freed as wcautil has no
ReleaseString function.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to