|
|
#1 |
|
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 |
|
|
|
|
|
#2 |
|
Junior Member
|
Tell me if you find anything!
I also looking for this kind of documentation!
|
|
|
|
|
|
#3 |
|
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. |
|
|
|
|
|
#4 |
|
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 |
|
|
|
|
|
#5 |
|
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. |
|
|
|
|
|
#6 |
|
Junior Member
|
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
|
|
|
|
|
|
#7 |
|
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 |
|
|
|
|
|
#8 |
|
Junior Member
|
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. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|