What underscores and blech? Windows is a UTF-16 (Unicode) environment. Linux is not. You and I only probably speak English, but users of other languages, like Japanese, surely enjoy being able to put their native language into some form of encoding. I personally use wide character strings explicitly instead of the TEXT or _T() macros, because I never care about building ANSI applications. ANSI is maintained for compatibility with Windows 9x codebases in any case.
"This is my message text.", L
"This is the title on my message box.", 0);
s tell the C compiler to encode the string as a wide character string. Welcome to standard features of ANSI-C or ISO/ANSI-C++.
Example GTK+ Apps on Windows:
The GNU Image Manipulation Program: http://www.gimp.org/
Mingw comes with it's own windows librarie
s. You cannot use the libraries that come with the Windows SDK because they work only with the compiler that comes with the Windows SDK. Not everything is included. For example, if you want to support unicode on windows, you can't using Mingw, because the C++ standard library wide character functions have not been ported to Mingw. EDIT: You also can't use any type of Component Object Model technologies using Mingw.
You need a windows environment for testing anyway ... why not use the free
C/C++ compiler that comes with the Windows SDK in any case?
Hope that helps,
PS: It's sometimes difficult to read when you don't take the time to spell and punctuate correctly -- you might get more responses if your wording was clearer.
Edited by Billy O'Neal, 23 December 2009 - 09:00 PM.