RE: Copy to clipboard from a Win console program? - I'm having a problem!
- Posted by Pete Stoner <stoner.pete at g?ai?.com> Dec 07, 2007
- 576 views
Greg, I see one problem with your conclip.ew (trying it on XP) it lost the last character of the text string so I changed.. hGlobal = c_func( xGlobalAlloc, {GMEM_CLIPBOARD, length(text)} ) to hGlobal = c_func( xGlobalAlloc, {GMEM_CLIPBOARD, length(text)+1} ) then all was fine... PeteS