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. LANGID to wstring

LANGID to wstring

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
2 Posts 2 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.
  • Z Offline
    Z Offline
    zon_cpp
    wrote on last edited by
    #1

    hi, how to convert LANGID to wstring?

    Zo.Naderi-Iran

    L 1 Reply Last reply
    0
    • Z zon_cpp

      hi, how to convert LANGID to wstring?

      Zo.Naderi-Iran

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

      Hi, MSDN is your friend and you will be a much better software engineer if you learn to use it. The LCIDToLocaleName function[^] is available for Vista+ operating systems. The DownlevelLCIDToLocaleName function[^] is available for XP and below but unfortunately users will need to install the National Language Support (NLS) package. You can avoid all of this by using the code I gave you here[^] which works on all operating systems >= WinXP. I've never tested it on Win2k. Best Wishes, -David Delaune [Updated incorrect MSDN links]

      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