Click here to Skip to main content
15,906,625 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reading .PSD file Pin
David Crow24-May-04 8:31
David Crow24-May-04 8:31 
Generalmenu next to images Pin
Member 466743724-May-04 6:54
Member 466743724-May-04 6:54 
GeneralGetMessage Hook and App Crashing Pin
User 1278224-May-04 6:50
User 1278224-May-04 6:50 
GeneralRe: GetMessage Hook and App Crashing Pin
jmkhael24-May-04 7:04
jmkhael24-May-04 7:04 
GeneralRe: GetMessage Hook and App Crashing Pin
User 1278224-May-04 7:57
User 1278224-May-04 7:57 
GeneralRe: GetMessage Hook and App Crashing Pin
Ryan Binns24-May-04 18:37
Ryan Binns24-May-04 18:37 
GeneralRe: GetMessage Hook and App Crashing Pin
User 1278224-May-04 18:50
User 1278224-May-04 18:50 
Generalconverting TCHAR to LPVOID Pin
pnpfriend24-May-04 6:25
pnpfriend24-May-04 6:25 
how can I convert TCHAR to LPVOID
here the example what I have,
<br />
CString str = "HELLO"<br />
TCHAR k[512];<br />
wcscpy(k,(LPCTSTR)str);<br />
LPVOID lpmsg = k;<br />

could run without any problem, but lpmsg only contain only one character, which is 'H'
how can I store CString content to LPVOID or TCHAR to LPVOID.

Thankyou
GeneralRe: converting TCHAR to LPVOID Pin
jmkhael24-May-04 6:46
jmkhael24-May-04 6:46 
GeneralRe: converting TCHAR to LPVOID Pin
pnpfriend24-May-04 6:57
pnpfriend24-May-04 6:57 
GeneralRe: converting TCHAR to LPVOID Pin
jmkhael24-May-04 7:00
jmkhael24-May-04 7:00 
GeneralRe: converting TCHAR to LPVOID Pin
pnpfriend24-May-04 8:26
pnpfriend24-May-04 8:26 
GeneralRe: converting TCHAR to LPVOID Pin
Dominik Reichl24-May-04 7:11
Dominik Reichl24-May-04 7:11 
GeneralRe: converting TCHAR to LPVOID Pin
pnpfriend24-May-04 8:32
pnpfriend24-May-04 8:32 
GeneralRe: converting TCHAR to LPVOID Pin
David Crow24-May-04 8:39
David Crow24-May-04 8:39 
GeneralRe: converting TCHAR to LPVOID Pin
pnpfriend24-May-04 9:05
pnpfriend24-May-04 9:05 
GeneralRe: converting TCHAR to LPVOID Pin
David Crow24-May-04 9:49
David Crow24-May-04 9:49 
GeneralRe: converting TCHAR to LPVOID Pin
pnpfriend24-May-04 10:49
pnpfriend24-May-04 10:49 
GeneralRe: converting TCHAR to LPVOID Pin
David Crow24-May-04 10:52
David Crow24-May-04 10:52 
GeneralRe: converting TCHAR to LPVOID Pin
pnpfriend24-May-04 9:19
pnpfriend24-May-04 9:19 
GeneralRe: converting TCHAR to LPVOID Pin
Michael Dunn24-May-04 11:04
sitebuilderMichael Dunn24-May-04 11:04 
GeneralRe: converting TCHAR to LPVOID Pin
pnpfriend25-May-04 7:59
pnpfriend25-May-04 7:59 
GeneralRe: converting TCHAR to LPVOID Pin
Blake Miller25-May-04 15:11
Blake Miller25-May-04 15:11 
GeneralSetWindowsHookEx, SC_SCREENSAVE and mouse moves Pin
caykahve24-May-04 6:01
caykahve24-May-04 6:01 
GeneralRe: SetWindowsHookEx, SC_SCREENSAVE and mouse moves Pin
jmkhael24-May-04 6:19
jmkhael24-May-04 6:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.