Old 5th April 2002, 19:01   #1
. - .... .- -. ....
. - .... .- -. ....'s Avatar
Join Date: Nov 2000
Location: საქართველო (Georgia)
Posts: 10,104
Send a message via ICQ to . - .... .- -. .... Send a message via Yahoo to . - .... .- -. ....
Question for developers...

Just a question for you plugin developers out there....

I wrote a plugin for winamp, except I wrote it as an executable (therefore technically not a plugin) as I didn't think that I needed to (and didn't know how to) write it as a .dll.

However, as the plugin has advanced, I've discovered that there are certain calls to winamp that you can make only if your code is running in the same process as winamp. I don't want to do a rewrite, so my question is if it is possible to convert my exe to a dll with as little screwing around with the code as possible???

Any help would be appreciated.....

Like my photography? Buy some here....
. - .... .- -. .... is offline   Reply With Quote
Old 6th April 2002, 07:01   #2
Junior Member
Join Date: Jan 2001
Posts: 8
Send a message via Yahoo to gifs
you should be able to convert most .exe's to a .dll
without much hassle.

look for sample code that provides
a function like
extern "C" {
_declspec(dllexport) winampGeneralPurposePlugin * winampGetGeneralPurposePlugin()

and one called

extern "C" int init()

my sample is called MFCWinamp.cpp and i don't remember where i got it, but
it should not be too hard to convert your code and use the extra features.

sorry this isn't the best reply
gifs is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump