PS: One of those "string" in the last sentence should be "space". <smile/>

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Monday, November 25, 2013 9:12 AM
To: WiX toolset developer mailing list
Subject: Re: [WiX-devs] Unicode support for WcaLog

What exactly do you want to change?  The WcaLog already supports passing 
Unicode data to the function, it's just the format string that is ANSI. For 
example:  WcaLog(LOGMSG_STANDARD, "This is a Unicode string: %ls", wzData); 
should work just fine.

We definitely don't want to change WcaLog to force using a Unicode string. That 
would just bloat all uses of WcaLog unnecessarily since Unicode strings take 
twice as much string as ANSI strings (and we have lots of log strings).

-----Original Message-----
From: Keith Neuse [mailto:kne...@gmail.com]
Sent: Friday, November 22, 2013 10:17 AM
To: wix-devs@lists.sourceforge.net
Subject: [WiX-devs] Unicode support for WcaLog

I would like to re-write the WcaLog method and methods that depend on WcaLog in 
order to support unicode strings. Microsoft has deprecated multi-byte char 
support for their MFC library and now requires being built with unicode support 
in Visual Studio 2013.  If you want to use MFC in custom actions it creates a 
lot of head aches to log the strings because now you have to convert unicode 
strings to Ansi strings. This will result in loss of data if you write text 
outside of the default code page selected in the OS. Every application today 
should support unicode strings.

I would like to get the okay before making the changes.

Thanks,
Keith

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription Software experts and developers: 
Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription Software experts and developers: 
Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to