Here's an easy 30 points for you experts:
I need to put a CString on the clipboard (without using OLE, if possible) , but I can't find the appropriate syntax.
The code's like this:
CString str="I'm on the clipboard!!!";
SetClipboardData( CF_TEXT ??, hData ??? ) // This line is the problem
Does anybody know how to do this? (Please reply with code...)