mov ax, 440dh
mov bx, 4
mov ch, 8
mov cl, 49h
int 21h
Octavian
E-mail: octav@octavsoft.com
Webpage: http://www.octavsoft.com
How can I eject a cd-rom in win32?
Is thee any way to eject the cd-rom from a win32 program? Itried a asm code that I found in the SDKs but it only works in dos; in windows my computer hangs.
ere is the code I tried:
Quantum why won''t that code work for me?
I plugged the mciSendString code into one of my Win32 projects and I recieve these errors because of it..
WinStruct.obj : error LNK2001: unresolved external symbol __imp__mciSendStringA@16
Debug/CreateWindowEX.exe : fatal error LNK1120: 1 unresolved externals
I plugged the mciSendString code into one of my Win32 projects and I recieve these errors because of it..
WinStruct.obj : error LNK2001: unresolved external symbol __imp__mciSendStringA@16
Debug/CreateWindowEX.exe : fatal error LNK1120: 1 unresolved externals
Quantam forgot to mention that mciSendString requires that you include mmsystem.h, and that you include winmm.lib in your project. Hope this helps.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement