Message board for the users of flat assembler.
> Windows > RightClick Close CDRom...
Please, help me! Maybe source is ready ago?...
I'm newbe and I want learn fasm...
The Open/Close Right-clicked CDRom is really useful for me.
I found only SysTray software by Aquila on masm32...
And somes by win95 (
|31 Aug 2007, 02:44||
What exactly do you want to do?
Do you want a program to open and close the CD player's door? Do you want it in the system tray or what?
Anyway, you can use MCI strings for that. There's already an example in FASM (beer). To close the door, you can simply use 'set cdaudio door closed' instead. There's plenty information about MCI on MSDN.
If you want it in the system tray, Iczelion's Tutorial 23 will be useful. The example is very easy to convert to FASM. If you have trouble, just ask.
Hope this helps.
|31 Aug 2007, 06:23||
I see one trouble that me need get it from explorer contecst menu the
right click on the drive letters...
And more It's should be the DLL formats... per example
rundll32 ...\system32\cdclose.dll installable.
Beer is an exe program
Tutorial 23: Tray Icon - no! Exactly not need SysTray...
> "The example is very easy to convert to FASM."
Manuality? I still not ready...
Ok I try thik about it.
|31 Aug 2007, 09:58||
A shell extension is not really the best way for a newbie to begin programming and it's quite a high-level programming subject.
First learn how to program a DLL -- like how to export DLL functions (check FASM DLL example for that). For shell extensions you should export DllEntryPoint, DllRegisterServer, DllUnregisterServer and DllCanUnloadNow.
Then you need to learn (at the very least) the basics of COM programming (classes, objects, interfaces, methods implementation, etc).
At this point you should be able to implement interfaces and methods (MSDN has all the information you need for that).
You will need to implement the following methods:
|31 Aug 2007, 12:27||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.
Website powered by rwasa.