INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MJFilesAutomation / MJFileAutomation Emulator for VB IDE  (Read 1310 times)

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
MJFilesAutomation / MJFileAutomation Emulator for VB IDE
« on: May 12, 2002, 01:27:15 am »

Here is the source to the emulator I use for debugging AV:

http://www.zippy.eclipse.co.uk/MJEmu.zip


To install:

1)  Unzip the source to a file
2)  Register the .OCX
3)  Merge the .REG


To setup:

After running MJ you will see a new plugin called Emulation.
Clicking on the "Dump To File" will write the contents of your MJ database to a file called MJEmulation.dat in the .OCX folder.


To use:

Open up the MJEmulation.vbp and press F5.
IE will be fired up showing the control with the exception that the search/dump items are disabled.
Click on the "Dump To Screen" button and it will read from the dump file (utilising the emulation MJFilesAutomation/MJFileAutomation classes) and write out to the listbox.


I also emulate GetCurPlayList and GetVersion.


Note that the source uses memory mapped files for speed and there is an option to exclude the dumping out of the "slow" MJ fields, i.e. Lyrics and Notes.


Simple stuff ... but at least I can debug via the IDE which is a big plus.
Logged
Pages: [1]   Go Up