I need to know if a Visual C++ 6.0 project supports Unicode or not. How can I check that?
相关问题
- how to call a C++ dll from C# windows application
- efficiently calling unmanaged method taking unmana
- Why is my COM factory never released during the pr
- How to debug static dependency loading problems?
- Bitshift operation with signed and unsigned
相关文章
- C++: Callback typedefs with __stdcall in MSVC
- Is it possible to check whether you are building f
- Which VC++ redistributable package to choose (x86
- How to convert Byte Array to hex string in visual
- Visual Studio Profiler showing “[broken]” as funct
- What exactly is the “Multi-threaded Debug DLL” Run
- Is it safe to bind a reference to a not yet constr
- SEH exception with code 0xc0000005 thrown in the t
If the project is compiled with Unicode support, then the preprocessor directive
UNICODE
(or_UNICODE
) will be defined. Testing to see if this is defined will give you your answer:You can also check this from within your project's settings.
UNICODE
and_UNICODE
.If you have a project that is not currently targeting Unicode, but you want to see if it can, then the best thing to do would be to define these preprocessor directives, and then try compiling your project. If it succeeds, then you're set. If it fails, go through and correct the errors emitted by the compiler.