CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Posts
    4

    Unicode Support in MFC

    how do i use unicode support in MFC to create menu in other international spoken language that has support only as uniocode characters.i am not an expert in VC++ so please have a beginners approach.i use VC++ 6.0 and winxp operating system

  2. #2
    Join Date
    Apr 2000
    Location
    Boston
    Posts
    124

    Re: Unicode Support in MFC

    By default, the UNICODE libraries are not installed in VC 6 (don't know about VC 7).

    First make sure you have the UNICODE libraries installed (files like MFC42U.DLL). If not re-run the VC6 install and select the UNICODE libraries (it is hidden in the libraries directory, you will have to drill down or select all).

    Second in your project settings for release and debug replace the _MBCS define with _UNICODE or UNICODE (this is under the C/C++ tab, General Category).

    Third in your project settings for release and debug change the Entry-point symbol to wWinMainCRTStartup (this is under the Link tab in the Output category).

    You are now Unicode ready.

  3. #3
    Join Date
    Sep 2002
    Location
    14° 39'19.65"N / 121° 1'44.34"E
    Posts
    9,815

    Re: Unicode Support in MFC

    Quote Originally Posted by mike200
    replace the _MBCS define with _UNICODE or UNICODE
    Not or: and.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured