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. wchar_t* to __gc String*

wchar_t* to __gc String*

Scheduled Pinned Locked Moved Managed C++/CLI
c++question
3 Posts 2 Posters 11 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.
  • N Offline
    N Offline
    Nish Nishant
    wrote on last edited by
    #1

    Is this safe? I have found that wchar_t* variables are implicitly cast to __gc String* variables. I hope this is okay and does not have any hidden issues. Nish


    Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

    J 1 Reply Last reply
    0
    • N Nish Nishant

      Is this safe? I have found that wchar_t* variables are implicitly cast to __gc String* variables. I hope this is okay and does not have any hidden issues. Nish


      Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

      J Offline
      J Offline
      James T Johnson
      wrote on last edited by
      #2

      Makes sense to me, managed String and char types are unicode safe. James Simplicity Rules!

      N 1 Reply Last reply
      0
      • J James T Johnson

        Makes sense to me, managed String and char types are unicode safe. James Simplicity Rules!

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #3

        James T. Johnson wrote: Makes sense to me, managed String and char types are unicode safe. Whew! Nice to hear that :-) Nish


        Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

        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