Hi All

Ok, most of you on here have Winamp I would guess. What I'm trying to figure out is how you would dynamically call a DLL in VB.

For instance:

C:\My VB Winamp\Plugins\plg1.dll
C:\My VB Winamp\Plugins\plg2.dll <-- this one has just been downloaded

Now in the code when you use the API, you have a standard name that you would know e.g. SendMessageA and it never changes Public Declare Functin "SendMessageA" alias SendMessage etc etc, but how would you tell VB that you want to declare plg2 instead of plg1 at runtime? I hope it makes sence to you and if so please help, thanx