Posted March 26, 200718 yr 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, 200718 yr by StUd
March 26, 200718 yr .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, 200718 yr by Vrane
April 24, 200718 yr 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
Create an account or sign in to comment