|
|
#1 |
|
Junior Member
Join Date: Apr 2004
Location: US
Posts: 16
|
Newbie help
I was hoping someone can help me. I am trying to get winamp to recognise a simple .dll file that I wrote. I complied the code in vc++ and added the created .dll file in the plugin folder for winamp. It just doesnt recognize it. Has anyone had a similar problem? Any suggestions would really be appreciated.
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Aug 2002
Location: hell
Posts: 232
|
I don't even know how to write plugins, but I know that nobody's going to be able to solve your problem if you don't post the erroneous code.
|
|
|
|
|
|
#3 |
|
Senior Member
|
for gen plugs make sure you have extern "C" in the export function... like this
code: Album List for Winamp - Download: v1.43, v2.06, v2.07 beta Wallpaper for Playlist Editor - Download: v1.06 |
|
|
|
|
|
#4 |
|
Join Date: Sep 2003
Posts: 27,873
|
ttk: what type of plugin are you making general purpose, input, ouput, vis since they require different functions to be exported so winamp can recognise them and thne be able to load them.
the example files in the sdk include what's needed. if you've already done that then will need some more info to work on -daz |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Apr 2004
Location: US
Posts: 16
|
Thanks!
I wasnt adding the C_ in the following code:
extern "C" __declspec( dllexport ) winampGeneralPurposePlugin * winampGetGeneralPurposePlugin() { return &plugin; } Worked like a charm after adding it. Thanks everyone! |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|