RE: Simple Call watcher program for OpenMG
"Christian Klukas" <[email protected]>
| Newsgroups | gmane.comp.audio.netmd.devel |
|---|---|
| Message-ID | <000001c2dd25$232d1240$97b8fea9@skynet03> |
Great work. I currently have no time to step in, but this sounds all very very interesting. I'll follow the progress and try to help as soon as I have more free time! chris > -----Original Message----- > From: [email protected] [mailto:netmd-dev- > [email protected]] On Behalf Of Alex Muirhead > Sent: Wednesday, February 26, 2003 12: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