Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. compile code in without unicode

compile code in without unicode

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kiran Pinjala
    wrote on last edited by
    #1

    i am using vc2005 and the code is compiled in unicode mode. How to disable it?

    KIRAN PINJARLA

    U C M 3 Replies Last reply
    0
    • K Kiran Pinjala

      i am using vc2005 and the code is compiled in unicode mode. How to disable it?

      KIRAN PINJARLA

      U Offline
      U Offline
      uusheikh
      wrote on last edited by
      #2

      To disable unicode support and use multi-byte support instead, go to your project properties (right-click on your project and select properties under Solution Explorer), then go to "Configuration Properties" in the treeview on the left, select "General", and change "Character Set" from "Use Unicode" to "Use Multi-byte character set" from the property list on the right.

      K 2 Replies Last reply
      0
      • U uusheikh

        To disable unicode support and use multi-byte support instead, go to your project properties (right-click on your project and select properties under Solution Explorer), then go to "Configuration Properties" in the treeview on the left, select "General", and change "Character Set" from "Use Unicode" to "Use Multi-byte character set" from the property list on the right.

        K Offline
        K Offline
        Kiran Pinjala
        wrote on last edited by
        #3

        Thank you so much.

        Adi Vishayam

        1 Reply Last reply
        0
        • K Kiran Pinjala

          i am using vc2005 and the code is compiled in unicode mode. How to disable it?

          KIRAN PINJARLA

          C Offline
          C Offline
          CPallini
          wrote on last edited by
          #4

          Choose the item _yourproject_ Properties of the menu Project (yourproject stands for the name of the current active project), then select Configuration Properties->General in the newly appeared window. Finally change the Character Set property. :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

          1 Reply Last reply
          0
          • U uusheikh

            To disable unicode support and use multi-byte support instead, go to your project properties (right-click on your project and select properties under Solution Explorer), then go to "Configuration Properties" in the treeview on the left, select "General", and change "Character Set" from "Use Unicode" to "Use Multi-byte character set" from the property list on the right.

            K Offline
            K Offline
            Kiran Pinjala
            wrote on last edited by
            #5

            I need one more help. I am debugging some pre written code. I found

            #using

            in that. while i am compiling its giving an error

            fatal error C1190: managed targeted code requires a '/clr' option

            What does it mean.

            Adi Vishayam

            D 1 Reply Last reply
            0
            • K Kiran Pinjala

              i am using vc2005 and the code is compiled in unicode mode. How to disable it?

              KIRAN PINJARLA

              M Offline
              M Offline
              Mike Dimmick
              wrote on last edited by
              #6

              Don't. Windows NT APIs are entirely Unicode-native - if you run an ANSI application on Windows NT-based operating systems (NT 4.0, Windows 2000, XP, Server 2003, Vista and later) all your strings get converted back to Unicode before being processed, and if asking for string values the results will have to be converted back to ANSI from Unicode. Also, you will find it much more difficult to localize your application. Some scripts are Unicode-only, there is no equivalent ANSI code page. Right now you should only think about compiling an ANSI application if running on Windows 98 is a requirement - and these OS usage share statistics[^] are showing less than 1% usage, barely more than Linux - and if that is a requirement, you should consider looking into the Microsoft Layer for Unicode[^], which allows programs compiled for Unicode to run on Win9X.


              DoEvents: Generating unexpected recursion since 1991

              1 Reply Last reply
              0
              • K Kiran Pinjala

                I need one more help. I am debugging some pre written code. I found

                #using

                in that. while i am compiling its giving an error

                fatal error C1190: managed targeted code requires a '/clr' option

                What does it mean.

                Adi Vishayam

                D Offline
                D Offline
                David Crow
                wrote on last edited by
                #7

                Kastapadi.Saadhinchaali wrote:

                What does it mean.

                See here.


                "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

                "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups