WinAmp General Purpose Plugin Test Program


Introduction This program is only useful in conjunction with the debugger for debugging a self written WinAmp general purpose plugin. The reason I wrote this program was that I was writing a plugin which crashed every time the config function has been called. Debugging with the WinAmp exe was too complicated, so I wrote a little framework which loads the dll and calls the init, config and quit functions of a general purpose plugin. 
VC 6.0 allows to load several projects into the workspace, configured with this test program and the winamp plugin the painful debugging is over!
How to use This project was developed under Visual C++ 6.0 with MFC but should compile under VC 5.0 as well.
  • Add this project to your current project:

  • In the menu 'Project' select 'Insert Project into Workspace...'
  • Set breakpoints in the CPluginTestDlg::OnBtnInit(), CPluginTestDlg::OnBtnCfg() and CPluginTestDlg::OnBtnExit() methods (file: PluginTestDlg.cpp).
  • Press F5

  • Find those nasty bugs!
Functionality
Plugin: Displays all found general purpose plugin DLL's  in the program directory.
Status: Displays status information, e.g. plugin loaded.
Init: Loads the plugin DLL and calls the init function of the plugin.
Config: Calls the config function of the plugin.
Exit: Unloads the plugin DLL and calls the quit function of the plugin.
What if...
  • I don't know what WinAmp is?

  • You're definitely on the wrong page! Start here: http://www.winamp.com
     
  • I have a visualization, input or output plugin?

  • Then this program doesn't help you - but wait: why don't you extend the framework and send it to me? Not a big deal...
    When I'll write my visualization program for Matrix Orbital LCD displays I'll probably extend this test program.
What does it cost? It's freeware, yes it's completely for free with the complete source code (without it wouldn't make much sense)!
Download Zip file (30 kB) with complete VC 6.0 project.

Last updated: August 19, 1999
Author: Markus Zehnder