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 02 Feb 2005, 14:47
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: 391 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: 3499
Location: Bulgaria
JohnFound 02 Feb 2005, 14:57
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 02 Feb 2005, 15:02
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 04 Feb 2005, 15:37
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 05 Feb 2005, 09:56
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.