I want to grab a string from the clipboard in Windows and copy it to a char array for further processing. If some other data is on the clipboard, I wouldn't want that returned (such as a picture, file, etc)... just a simple "if there is text on the clipboard, copy it to my variable".
I'm going to have users copy text to the clipboard from a travel website and then process that data in my application.
Does anyone have any example code for this simple task of moving text from the clipboard to a variable? I'm using Visual C++ and no MFC.