flat assembler
Message board for the users of flat assembler.

Index > Windows > playing at win64a.inc

Author
Thread Post new topic Reply to topic
semiono



Joined: 31 Aug 2007
Posts: 198
Location: section '.code' executable
semiono 16 Jun 2009, 11:17
How to start? Very Happy
Code:
include '%fasm%\win64a.inc' ; w.inc ???

start:
        fastcall  [Sleep],10000 ; invoke, cinvoke, ccall ???
        cdecl [ExitProcess],0
data import
        library kernel32,'KERNEL32.DLL',shell32,'SHELL32.DLL'
        include '%fasm%\api\shell32.inc' ; ???
        include '%fasm%\api\kernel32.inc' ; ???
        include '%fasm%\equates\shell64.inc'
        include '%fasm%\equates\kernel64.inc'
end data    

http://msdn.microsoft.com/en-us/library/ms794533(printer).aspx

_________________
Windows 9, FL Studio 19
Post 16 Jun 2009, 11:17
View user's profile Send private message Reply with quote
semiono



Joined: 31 Aug 2007
Posts: 198
Location: section '.code' executable
semiono 16 Jun 2009, 11:43
Yes, I found!
format PE64 - required!
cdecl - not available.
fastcall - work!

What is the equates contain?
Post 16 Jun 2009, 11:43
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.