I tried to create a Winamp plugin, using the specifications of the Winamp SDK and by following the Beginner's Guide, but my plugin isn't shown in the General Purpose plugins list in Winamp. I found 2 plugin examples in the Code Archive from PureArea, but they are for Visualisation and for an Input (decoder) plugin. They work without any problem, and are actually much more complicated that the general purpose plugins. Here is my empty plugin code, which should be loaded in winamp without any problems, but it is not.

Code: Select all
Structure winampGeneralPurposePlugin
version.l
description.l
init.l
config.l
quit.l
hwndParent.l
hDllInstance.l
EndStructure
Global PLUGIN.winampGeneralPurposePlugin
ProcedureDLL.l Init()
ProcedureReturn 0
EndProcedure
ProcedureDLL Config()
EndProcedure
ProcedureDLL Quit()
EndProcedure
ProcedureDLL.l winampGetGeneralPurposePlugin()
;MessageBox_(0, "", "", #MB_OK)
PLUGIN\version = $10
PLUGIN\description = ?Description
PLUGIN\init = @Init()
PLUGIN\config = @Config()
PLUGIN\quit= @Quit()
PLUGIN\hDllInstance = 0
PLUGIN\hwndParent = 0
ProcedureReturn *PLUGIN
EndProcedure
DataSection
Description:
Data.s "Empty General Purpose Plugin"
EndDataSection