Old 22nd December 2000, 12:04   #1
arvin
Junior Member
 
Join Date: Dec 2000
Posts: 10
is there any tutorials or documents out there on how to manipulate winamp functionalities with c++ builder?

thanks in advance.

arvin
arvin is offline   Reply With Quote
Old 9th January 2001, 12:42   #2
kStefanj
Junior Member
 
Join Date: Dec 2000
Location: Esbyn, Sweden
Posts: 5
Send a message via ICQ to kStefanj
Tell me if you find anything!

I also looking for this kind of documentation!
kStefanj is offline   Reply With Quote
Old 20th January 2001, 18:47   #3
sjuke
Junior Member
 
Join Date: Jan 2001
Posts: 3
What I did was I grabbed the frontend.h
from developers site and that little piece of code

(HWND hwnd_winamp = FindWindow("Winamp v1.x",NULL); )

and that is all you need..

It's only cut'n'paste from that moment on, just take the
lines from frontend.h you need, it is the best documented
headerfile I've ever seen.

Of course, this is for 2.x winamp, I haven't looked into
3.x since I've been programming for winamp for almost
20 minutes now

But I think that tells pretty much how easy it is to control
winamp, I now have a commandline frontend for winamp ready
to use for my php+mysql jukebox.

And for all of you who don't have a decent compiler, check
out the borland's free commandline tools, that's what I use
for small programs that don't need GUI.
sjuke is offline   Reply With Quote
Old 22nd January 2001, 03:27   #4
arvin
Junior Member
 
Join Date: Dec 2000
Posts: 10
yeah i am capable of manuevering winamp with my own app...
but is there any possible way to manipulate visualizations?

it's like my own app will play the visualization instead of winamp?

thanks,

arvin
arvin is offline   Reply With Quote
Old 29th January 2001, 06:45   #5
Tharn
Junior Member
 
Join Date: Jan 2001
Posts: 10
Information is here

I have been looking for information about making Winamp plugins using Borland C++ for almost 2 years! I never found it, but I finally solved it myself and made a web page about it.

http://www.agt.net/public/matrixoc/t...mp_Borland.htm

It does absolutely nothing, and that is just the way you want it for the first one. Having all kinds of code that is not essential just makes it all the harder to figure out what to do, or why it doesn't work.

It is a General Purpose Plugin.

Tharn L.

Tharn is offline   Reply With Quote
Old 28th March 2001, 22:06   #6
chris__mills
Junior Member
 
Join Date: Mar 2001
Posts: 3
Send a message via AIM to chris__mills Send a message via Yahoo to chris__mills
Winamp, Builder and VCL

Thanks for the site on how to create a builder plugin. I ahve been programming for a bit but I'm new to builder. Based on you're site and the SDK I have managed to build a Visualisation plugin that does very little but Winamp recognises.

My problem now is how do I use the Builder's VCL functions? I have managed to find enough examples of code for DLLs to figure out how this is done, and it all complies nor problems, but I can't get it to Link without the 'Generate Underscores' option enabled. Unfortunatly this seems to stop Winamp from recognising my plugin.

Am I being stupid? Or if not is there a way round this?

Thanks,

Chris
chris__mills is offline   Reply With Quote
Old 29th March 2001, 20:17   #7
Tharn
Junior Member
 
Join Date: Jan 2001
Posts: 10
Yes, there is a way. I had to actually do this after that example was done. You need to include a ".def" file in the project. For my gen_test plugin, the file gen_test.def looks like this:

LIBRARY GEN_TEST.DLL

EXPORTS
winampGetGeneralPurposePlugin = _winampGetGeneralPurposePlugin

You should look in Builder's help for more info, but basically, you unselect "don't generate underscores" so that VCL will work, then just before the link, this file comes into play to remove them so that Winamp will recognise them. Clear?

Tharn
Tharn is offline   Reply With Quote
Old 5th April 2001, 23:09   #8
chris__mills
Junior Member
 
Join Date: Mar 2001
Posts: 3
Send a message via AIM to chris__mills Send a message via Yahoo to chris__mills
Cheers Man!

You help is really appreciated! Have you had anyluck using VCL components in your plugin? I can get a plugin do do stuff but only using the Windows SDK components which can only be described as time consuming....

Thanks,

Chris.
chris__mills is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

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