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. Managed C++/CLI
  4. What is difference between A2W and MutiByteToWideChar?

What is difference between A2W and MutiByteToWideChar?

Scheduled Pinned Locked Moved Managed C++/CLI
questiondata-structureshelp
3 Posts 2 Posters 2 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.
  • W Offline
    W Offline
    WuRunZhe
    wrote on last edited by
    #1

    Well, there are several functions which converts MBCS to WCHAR. Among them, I often used A2W and MultiByteToWideChar. But I don't know the difference and which is the best. Often, A2W is very simple to use but when I use it in the scope of while or thread, It often occurred stack over flow errors. What's wrong? Could anybody notice me which function is the best and which A2W occure Stack Over flow error? Thank you. :)

    L 1 Reply Last reply
    0
    • W WuRunZhe

      Well, there are several functions which converts MBCS to WCHAR. Among them, I often used A2W and MultiByteToWideChar. But I don't know the difference and which is the best. Often, A2W is very simple to use but when I use it in the scope of while or thread, It often occurred stack over flow errors. What's wrong? Could anybody notice me which function is the best and which A2W occure Stack Over flow error? Thank you. :)

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      See http://msdn.microsoft.com/en-us/library/vstudio/805c56f8(v=vs.100).aspx[^].

      Veni, vidi, abiit domum

      W 1 Reply Last reply
      0
      • L Lost User

        See http://msdn.microsoft.com/en-us/library/vstudio/805c56f8(v=vs.100).aspx[^].

        Veni, vidi, abiit domum

        W Offline
        W Offline
        WuRunZhe
        wrote on last edited by
        #3

        Thank you.

        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