RE: Copy to clipboard from a Win console program? - I'm having a problem!

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu