flat assembler
Message board for the users of flat assembler.

Index > Windows > CD eject example

Author
Thread Post new topic Reply to topic
f0x1er



Joined: 01 Feb 2005
Posts: 12
Location: Russia, Staryy Oskol
f0x1er
Hello!
This is my first try of assembly proggramming using Fresh IDE Smile


Description: CD ejection example
Download
Filename: CdEj.zip
Filesize: 4.96 KB
Downloaded: 131 Time(s)

Post 02 Feb 2005, 14:47
View user's profile Send private message ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
I can't compile it. Did you include some different imports in "allimports.asm"?
The compiler can't find "mci" functions.

Regards.
Post 02 Feb 2005, 14:57
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
f0x1er



Joined: 01 Feb 2005
Posts: 12
Location: Russia, Staryy Oskol
f0x1er
I just added some new imports in allimports.asm something like this:

library kernel32,'KERNEL32.DLL',\
...
winmm, 'WINMM.DLL'
...
include '%finc%\win32\apia\winmm.inc'

Where winmm.inc consist just from one string:

import winmm,\
mciSendString,'mciSendStringA'
Post 02 Feb 2005, 15:02
View user's profile Send private message ICQ Number Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav
another cd eject example Smile

fasm\examples\beer
Post 04 Feb 2005, 15:37
View user's profile Send private message Reply with quote
f0x1er



Joined: 01 Feb 2005
Posts: 12
Location: Russia, Staryy Oskol
f0x1er
I know that mr.Slavik Smile
I wanted to write such programm for a long time, but i didn't know how to realise that. And with the help of that example i did it Smile
Post 05 Feb 2005, 09:56
View user's profile Send private message ICQ Number 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-2020, Tomasz Grysztar.

Powered by rwasa.