Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __asm
- {
- mov esi, esp
- push 0
- mov eax, WindowName
- push eax
- push 0
- push 0
- call FindWindowExA
- mov find, eax
- cmp find, 0
- je no_find
- ; process found
- mov esi, esp
- push 20h
- push offset MyTitle
- push offset MyText
- push 0
- call MessageBoxA
- cmp esi, esp
- jmp find_window + 88h
- no_find :
- mov esi, esp
- push 20h
- push offset MyTitle
- push offset MyTextFail
- push 0
- call MessageBoxA
- cmp esi, esp
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement