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. convert LPARAM to CComBstr

convert LPARAM to CComBstr

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 3 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.
  • S Offline
    S Offline
    Sunil P V
    wrote on last edited by
    #1

    Hi All, How do i convert LPARAM to CComBstr?

    Sunil

    B S 2 Replies Last reply
    0
    • S Sunil P V

      Hi All, How do i convert LPARAM to CComBstr?

      Sunil

      B Offline
      B Offline
      BhawnaA
      wrote on last edited by
      #2

      Use itoa() to convert long/int to char* and append this to CcomBSTR as in the given sample code: LPARAM temp = 90; CComBSTR t; char* buf= new char[5]; buf = itoa(temp,buf,10); t.Append(buf); Cheers!! Bhawna

      1 Reply Last reply
      0
      • S Sunil P V

        Hi All, How do i convert LPARAM to CComBstr?

        Sunil

        S Offline
        S Offline
        ShilpiP
        wrote on last edited by
        #3

        Solution[^]

        Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

        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