Guest StUd Posted March 26, 2007 Posted March 26, 2007 (edited) How i can copy the serial field to clipboard? i don't know what is function the code is: .data?SerialBuffer 512 dup(?).codeif eax==IDC_COPYinvoke ??? Can you give me an example? Edited March 26, 2007 by StUd
Vrane Posted March 26, 2007 Posted March 26, 2007 (edited) .elseif EAX==IDC_COPY invoke SendDlgItemMessage,hWnd,IDC_SERIAL,EM_SETSEL,0,-1 invoke SendDlgItemMessage,hWnd,IDC_SERIAL,WM_COPY,0,0In attachment Keygen Template by Goppitkeygen_template.rar Edited March 26, 2007 by Vrane
Ufo-Pu55y Posted April 24, 2007 Posted April 24, 2007 If you've got no usual window_textbox,or if it's for a selfkeygen,then you could go like this:.data ? nLen dd ? hMem dd ? pMem dd ?.codeCopy_2_Clipboard: invoke lstrlen, ADDR String_2_Copy inc eax mov nLen, eax invoke OpenClipboard, 0 invoke GlobalAlloc, GHND, nLen mov hMem, eax invoke GlobalLock, eax mov pMem, eax lea esi, String_2_Copy mov edi, eax mov ecx, nLen rep movsb invoke EmptyClipboard invoke GlobalUnlock, hMem invoke SetClipboardData, CF_TEXT, hMem invoke CloseClipboard
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now