Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Regarding difference between Release Unicode/Debug,MBCS Debug/Release Collapse All
Subject Author Date
Trupti Kasvala Jan 21, 2009 - 6:24 AM

Hello sir,


I want to know difference between Release Unicode/Debug Unicode, MBCS Debug/ MBCS Release, ANSII Debug/Release.


Waiting for your early reply.


Trupti

Technical Support Jan 22, 2009 - 12:37 PM

Please read the following article first:

http://www.prof-uis.com/prof-uis/tech-support/feature-articles/prof-uis-build-configurations.aspx

If you are using ANSI or MBCS configuration, then the TCHAR type is mapped into the char type.
If you are using UNICODE configuration, then the TCHAR type is mapped into the wchar_t type.

If you are using ANSI configuration, then the _tcslen() function is mapped into the strlen() function.
If you are using MBCS configuration, then the _tcslen() function is mapped into the _mbclen() function.
If you are using UNICODE configuration, then the _tcslen() function is mapped into the wcslen() function.

You can take a look at the tchar.h from Platform SDK to see details about mapping of all the other string processing functions.

Trupti Kasvala Jan 23, 2009 - 5:22 AM

Hello sir,


Thank you for replying.Further i want to know advantages & disadvantages of each.& In Which case it is used?


Waiting for your early reply


Trupti

Technical Support Jan 23, 2009 - 12:44 PM

ANSI is acceptable if the application uses the English language and/or default Windows non-English language for ANSI programs.
MBCS is acceptable for creating multi-language programs but not all the complex languages supported.
UNICODE supports all the available languages but it’s not available in old Windows 95, 98 and ME systems.
All the modern Windows versions are UNICODE.
All the currently supported by Microsoft versions of Windows are UNICODE.
All the new 64 bit Windows versions are UNICODE.
In the modern world you can forget what is ANSI and MBCS.