So, I downloaded wxMSW-2.6.3, eager to start using this amazing framework for my new project. I fired up my compiler (VC++ 6 SP6 on Windows 2000) to build the wxWidgets libraries and... I was stunned: so many build options, which one do I choose?
I mean, I counted at least 14:
OK - so I know what the difference is between 'Release' and 'Debug' and there really are only 7 build types. I also know the difference between DLL and Static, so I further narrowed it down to only 4:Win32 DLL Universal Release
Win32 DLL Universal Debug
Win32 DLL Unicode Release
Win32 DLL Unicode Debug
Win32 DLL Release
Win32 DLL Debug
Win32 Universal Unicode Release
Win32 Universal Unicode Debug
Win32 Universal Release
Win32 Universal Debug
Win32 Unicode Release
Win32 Unicode Debug
Win32 Release
Win32 Debug
I also learned (from http://www.wxwidgets.org/about/wxuniv.htm) that at the moment I don't want wxUniversal, so I am basically left with only 2 build types:Win32 Universal Unicode Debug
Win32 Universal Debug
Win32 Unicode Debug
Win32 Debug
Good. But I am still confused.Win32 Unicode Debug
Win32 Debug
I think that I need to have the ability to support Unicode, since my application will be processing text copied from web pages (which I don't know at compile time whether they are encoded ANSI or Unicode).
However, I left the relevant setting in setup.h at its default:
since my understanding is that setting wxUSE_WCHAR_T to 1 is sufficient to support Unicode. (is this correct?)#define wxUSE_UNICODE 0
My question, that is: If I build 'Win32 Debug' only, while wxUSE_WCHAR_T (in setup.h) is set to 1, will I be able to support Unicode in my application?
If not, do I have to both set wxUSE_UNICODE (in setup.h) to 1 and build 'Win32 Unicode Debug'?
What is the "magic combination" of build type and setup.h setting that will allow me to achieve what I am trying to accomplish?
Thanks,
Dave