Converting INT to LPCTSTR

This is a discussion on Converting INT to LPCTSTR within the C++ Programming forums, part of the General Programming Boards category; Hello The SetDlgItemText() function takes in a LPCTSTR datatype as one of its arguments. I was just curious how to ...

  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    67

    Cool Converting INT to LPCTSTR

    Hello

    The SetDlgItemText() function takes in a LPCTSTR datatype as one of its arguments.

    I was just curious how to convert an integer into this datatype.

    Thanks in advance!

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,333
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. memory leak
    By aruna1 in forum C++ Programming
    Replies: 3
    Last Post: 08-17-2008, 10:28 PM
  2. Code review
    By Elysia in forum C++ Programming
    Replies: 71
    Last Post: 05-13-2008, 09:42 PM
  3. Working with random like dice
    By SebastionV3 in forum C++ Programming
    Replies: 10
    Last Post: 05-26-2006, 09:16 PM
  4. Replies: 2
    Last Post: 03-24-2006, 07:36 PM
  5. getting a headache
    By sreetvert83 in forum C++ Programming
    Replies: 41
    Last Post: 09-30-2005, 05:20 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21