Ok Thanks. I have just downloaded it now and will see how it goes. Jeremy
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Corey Murtagh Sent: Monday, 3 February 2003 16:57 To: Multiple recipients of list delphi Subject: Re: [DUG]: Disable Floppy in Registry Ok, so now I get to tell myself how wrong I am. One of the links in that article was to a library one of the M$ research guys created, called 'detours'. I grabbed it and got it to build under BCB4, and it seems to work fine under WinXP. It apparently doesn't work at all under Win9x/Me, so if that's one of your target environments then this won't help much. Detours works quite simply for the current process, but for other processes - new or existing - you have to do some extra work. It does provide routines for doing it, but they're a touch more involved. You might want to check out http://www.madshi.net - he has some reasonably-priced (free for non-commercial use) stuff that implements API hooking on most Win32 platforms, and it's all Delphi. Might be the solution you need if you want to go through hooking APIs. -- Corey Murtagh The Electric Monk "Quidquid latine dictum sit, altum viditur!" ------------------------------------------------------------------------ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
