flat assembler
Message board for the users of flat assembler.
Index
> Windows > Copy to Clipboard |
Author |
|
Alessio 04 Oct 2003, 14:57
I've done it by myself.
invoke OpenClipboard,[hwnd] invoke GlobalAlloc,GMEM_MOVEABLE+GMEM_DDESHARE,[slen] ;length of string + 1 mov [hmem],eax invoke GlobalLock,[hmem] invoke lstrcpy,eax,szBuffer invoke EmptyClipboard invoke GlobalUnlock,[hmem] invoke SetClipboardData,CF_TEXT,[hmem] invoke CloseClipboard Seems to working! |
|||
04 Oct 2003, 14:57 |
|
roticv 04 Oct 2003, 15:01
Local** Functions end up calling Global** functions.
|
|||
04 Oct 2003, 15:01 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.