flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vbVeryBeginner 12 Nov 2005, 11:27
hopefully, this might help you a bit
Code: format PE GUI include "%fasminc%\win32a.inc" invoke FindWindow,NULL,tmWindowName cmp eax,NULL je e1 invoke SendMessage,eax,WM_CLOSE,NULL,NULL invoke ExitProcess,0 e1: invoke MessageBox,NULL,tmWindowName,tmWindowName,MB_OK invoke ExitProcess,0 tmWindowName db 'Windows Task Manager',0 data import library user32, "user32.dll", kernel32, "kernel32.dll" include "%fasminc%\apia\kernel32.inc" include "%fasminc%\apia\user32.inc" end data |
|||
![]() |
|
vbVeryBeginner 12 Nov 2005, 11:32
open up the Windows Task Manager window so that if you assemble the above code, it would close it down.
btw, you could set in ur pc env variables Code: path=C:\fasmw164 fasminc=C:\fasmw164\INCLUDE\ so that it looks more friendly ![]() |
|||
![]() |
|
jacko221 12 Nov 2005, 11:58
Thank for the tips and the code... really appreciate your help... works great too
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.