PDA

View Full Version : I'm trying to write a plugin and I need help


Razvan
4th May 2002, 09:41
I have recently learned the c++ lanuage and now I am trying to write my very own winamp plugin. Unfortunately I'm stuck. I downloaded the source of a simple test plugin I found in the developers area. I compiled it, I got the dll, but winamp doesn't recognize it. I renamed it to vis_test.dll but it still didn't work. What is wrong with it?

Kaboon
4th May 2002, 16:21
Which example have you downloaded? Have you got a link to it? Because it's quite difficult to tell what's wrong without seeing it's code. But since people prefer to keep the source for theirself, could you provide a bit more information about the plug-in?

Please note:
I don't know about which 'developers area' you are talking about (forum or NSDN) but anyway:

There are different SDK's for different kind plug-ins. Are you sure that you've got the right one? Take a look at the plug-ins section of NSDN (http://www.winamp.com/nsdn/winamp2x/dev/plugins/). All sorts of SDK's for type plug-ins are listed there. You also can learn a lot there.

And a wild guess, but you did put your plug-in in the winamp\plugins folder?? ;)


I downloaded the one at NSDN for visualisations, MSVC++ 6 converted the project fine (converted, because it's build with an other version) and I could compile it without having any problems. I could use it right away... So a wrong example maybe?

Razvan
6th May 2002, 19:53
The name of the plugin that I downloaded is vis_minisdk (NSDN > visualisation plugins). And of course I put the dll in winamp\plugins! But I think I know what the proplem is. The plugin is writen in visual c++. I used borland's c++ 5.0 . Darn! I don't have a visual c++ compiler to test it now, but I'll get it soon. Then if I'll have more problems I'll let you know. Thanks a lot for helping.