| View previous topic :: View next topic |
| Author |
Message |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Sat Oct 18, 2008 9:40 pm Post subject: C++ dword to lpcwstr |
|
|
so im getting a value into a dword, and then im trying to use it in the SetWindowTextW function, for which the second parameter is a lpcwstr
any ideas, i've tried about 5 ways, but with no success
_________________
|
|
| Back to top |
|
 |
Wintermoot Expert Cheater
Reputation: 0
Joined: 08 Nov 2007 Posts: 198
|
Posted: Sun Oct 19, 2008 1:20 am Post subject: |
|
|
| I was told _itow(...) but, I was trying to convert to LPCSTR... Give it a go anyway.
|
|
| Back to top |
|
 |
Zand Master Cheater
Reputation: 0
Joined: 21 Jul 2006 Posts: 424
|
Posted: Sun Oct 19, 2008 3:43 am Post subject: |
|
|
| Tried _swprintf?
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sun Oct 19, 2008 8:17 am Post subject: |
|
|
_ltot or wsprintf
_________________
|
|
| Back to top |
|
 |
manc Grandmaster Cheater
Reputation: 1
Joined: 16 Jun 2006 Posts: 551
|
Posted: Sun Oct 19, 2008 10:47 am Post subject: |
|
|
Cast typing?
_________________
|
|
| Back to top |
|
 |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Sun Oct 19, 2008 5:10 pm Post subject: |
|
|
thanks for the help, even though i solved it first, i used _itow by the way
_________________
|
|
| Back to top |
|
 |
|