I'm not sure what you mean. You might want to check in the project's
properties that you really are compiling for narrow/8-bit/multi-byte chars.
Look under Configuration/General at the Character Set setting. I'm assuming
it *doesn't* say Use Unicode Character Set, which means wide/Unicode
characters.

It might be easier to grab a nearby C++ expert if you have one. You need to
ensure all your strings are of the same kind (wide or narrow) and that your
project setting matches it too. You can convert between the two but that's
even more work.

-----Original Message-----
From: Natalie Carr [mailto:natalie.c...@measuresoft.com] 
Sent: 04 October 2012 12:48
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Populating Listbox from Custom Action

I tried that but it says that it is not compatible. When I converted
"ComPort" to a Wide char I am having trouble initialising it correctly. 

-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 04 October 2012 12:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Populating Listbox from Custom Action

Since all your other strings seem to be 8-bit characters, delete the "L"
from the front of any literal strings. That will make them 8-bit too.
So L"ListBox" -> "ListBox" and
L"COMPORT" -> "COMPORT"

-----Original Message-----
From: Natalie Carr [mailto:natalie.c...@measuresoft.com]
Sent: 04 October 2012 12:16
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Populating Listbox from Custom Action

Hi Peter, Me and C++ are not long introduced so please excuse if I am being
really silly. What would you suggest I change? Comport to a Wide Char?
Thanks

-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 04 October 2012 12:10
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Populating Listbox from Custom Action

I've had a quick glance and it looks like you're compiling with 8-bit chars
but you've also got L"ListBox" and L"COMPORT" which are wide chars.

-----Original Message-----
From: Natalie Carr [mailto:natalie.c...@measuresoft.com]
Sent: 04 October 2012 11:51
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Populating Listbox from Custom Action

Hi if anyone has a chance would they check out my question on SO as I think I
am near to solving it but need an extra hand. Would greatly appreciate
it..:) Thanks

 

http://stackoverflow.com/questions/12562643/wix-add-to-listbox-from-c-custom
-action

----------------------------------------------------------------------------
-
-
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly what is
happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at
no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and we
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
7DY, UK.


----------------------------------------------------------------------------
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly what is
happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at
no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
-
-
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly what is
happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at
no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

----------------------------------------------------------------------------
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly what is
happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at
no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-----------------------------------------------------------------------------
-
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly what is
happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at
no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to