Hi!
Anyone knows how to copy text to clipboard in console program?
Hi!
Anyone knows how to copy text to clipboard in console program?
Current projects:
1) User Interface Development Kit (C++)
2) HTML SDK (C++)
3) Classes (C++)
4) INI Editor (Delphi)
If you need to call EmptyClipboard(), which looks like is a good idea, then create a dummy window and never show it.If an application calls OpenClipboard() with hwnd set to NULL, EmptyClipboard() sets the clipboard owner to NULL; this causes SetClipboardData() to fail.
gg