[wix-devs] Declare/Use const BSTR

Rob Mensching rob at firegiant.com
Mon Oct 7 06:28:58 PDT 2019


Probably in an extension that needs BSTRs that can be const. I'm not sure they are strictly needed. Back in the old days (1999) I think BSTR functions were a bit stricter about not being "just a Unicode string" but after everyone messed it up they got smarter. But I'm not 100% confident in that.

Regards,

  Rob Mensching
  CEO
  FireGiant
_______________________________________________________________
 FireGiant  |  Dedicated support for the WiX toolset  |  http://www.firegiant.com/

-----Original Message-----
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> On Behalf Of Sean Farrow via wix-devs
Sent: Sunday, October 6, 2019 9:48 PM
To: 'wix-devs at lists.wixtoolset.org' <wix-devs at lists.wixtoolset.org>
Cc: Sean Farrow <sean.farrow at seanfarrow.co.uk>
Subject: [wix-devs] Declare/Use const BSTR

Hi,

I noticed whilst looking at strutil, there are declare and use const BSTR macros.

I wondered where these are used?

Thanks,
Sean.
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-devs mailing list