RE: Simple Call watcher program for OpenMG
"Muermann, Max" <[email protected]>
| Newsgroups | gmane.comp.audio.netmd.devel |
|---|---|
| Message-ID | <[email protected]> |
could you post the sourcecode as well? I just got my NetMD recorder yesterday and have been working on disabling the ant0debugging crud since... I wouldn't mind trying a different approach (without re-inventing the wheel...). Cheers, Max -----Original Message----- From: Alex Muirhead [mailto:[email protected]] Sent: Wednesday, 26 February 2003 10:20 AM To: [email protected] Subject: Simple Call watcher program for OpenMG Okay its half term for me now so I have taken some time to nock this up. So far I have only been able to spend about 5 hours on it, so its not catching every function and it still has bugs But its working for every call placed to: SonyUsbControlSend SonyUsbControlRecive SonyUsbClose SonyUsbEnumerateDevices SonyUsbGetDeviceName SonyUsbOpen SonyUsbSetTimeOut made by NetMDAPI.DLL I have so far been un-able to work out what the 5 params passed to SonyUsbDataSend are, as its very touchy about having WinDbg attached, and I've not had time to do it the hard way, does anyone know what these params are?! Anyway just in case u want to try this prog. For a Screenie: http://www.0bytes.net/netmd/screenshot.jpg to download (run at own risk of system crashing, ur cat dieing, and it raining tommorow) http://www.0bytes.net/netmd/netmdcalls.zip To run, run the VB program, click start, this invokes the DLL which uses a global hook to find when openmg is loaded, it then creates its window and hooks the calls, clicking stop on the VB program will make OpenMG crash and burn, when you're done, click close on the NetMD Call Tracker window. If I get more time this week I will add some filtering and pattern matching (i.e. u can tell it to interpret the commands we already know) Alex Muirhead "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup "About the use of language: it is impossible to sharpen a pencil with a blunt axe. It is equally vain to try to do it with ten blunt axes instead." - Edsgar W. Dijkstra _______________________________________________ netmd-dev mailing list [email protected] http://gargoyles.monochromatic.net/cgi-bin/mailman/listinfo/netmd-dev This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.