|
|
#1 | |
|
Junior Member
Join Date: Sep 2001
Location: France
Posts: 47
|
Topic for Delphi plugin developers
Hi,
the aim of this topic is to gather knowledge about plugin development with Delphi. You can find some code by browsing this forum, but I never found a complete example on how a delphi plugin should be. Here some code that could be useful to start: tutorial for a general plugin: www.sntd.de This is one is old (2000!) and based on winamp 2.x api but works. One of the most intersting thing, was the translation of winamp 2.9.x api by Saivert: Quote:
but I never found how to use it... If somebody could create a very simple general plugin with the new api (and with skinned,dockable windows), I think it will help a lot of people (and me the first!). |
|
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Sep 2001
Location: France
Posts: 47
|
Noboby using Delphi here ?
Another useful post by Saivert : How to add a form into winamp preferences window |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2003
Posts: 286
|
DrLOBO !!!
good that i found you. i hope youre still active. i want to build a delphi plugin, but im not VERY good in delphi, but i learn fast. i have my form, completely working, the ponly thin i need now is : build it into winamp. i want an dll out of the exe, i want to have it running without beeing seen. can you help me ? |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Sep 2001
Location: France
Posts: 47
|
have a look there http://members.***********/files_saiv...winampdev.html
the nxs balloon tip project is a delphi one,it could help you. |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Apr 2003
Posts: 286
|
i made it. (look at my signature
)thanks ! |
|
|
|
|
|
#6 |
|
Banned
Join Date: Jan 2001
Location: Norway
Posts: 927
|
When I wrote the first stuff about skinned/docked windows when using Delphi, I didn't realize how much work it really was. I have done most of the work in C++, and have created a new version of NxS Balloon Tip which is written in C++.
Check out WinampDev site! I don't think you should use Delphi when making stuff for Winamp. It is in fact much easier to do it in plain C++. By using MS Visual C++ for example you can create a smaller plugin file. Borland Delphi tend to create very large EXE and DLL files and you will have to make huge hacks to integrate Delphi's Forms in e.g. the Preferences Page. It is easy to embed a Delphi Form in a skinned window created by the use of IPC_GETEMBEDIF and calling the returned function pointer from Winamp, but when you need to "owner-draw" all your buttons and color the edit boxes, list boxes and labels using the code in wa_dlg.pas you will get stuck. You can ofcourse use Delphi if you create your windows and buttons like we all did before. That is: Calling CreateDialog() and CreateWindow() and setting up a indow Procedure (this is handled in Forms using events). But then you can use C++ anyway since you loose the simplyness with Forms and events. A cross between these two programming platforms must be MFC (Microsoft Foundation Classes). MFC lets you handle stuff like a C++ class. |
|
|
|
|
|
#7 |
|
Banned
Join Date: Jan 2001
Location: Norway
Posts: 927
|
I have created a new Winamp Delphi SDK which covers all types of plugins and is easy to setup. Currently (read my sig) I have no homepage, so somebody must provide me with a place to upload it. I cant attach it since it is too big for this forums.
|
|
|
|
|
|
#8 |
|
Major Dude
|
how big it it?
|
|
|
|
|
|
#9 |
|
Banned
Join Date: Jan 2001
Location: Norway
Posts: 927
|
Size?? --> 576 kB (590_180 bytes)
Filename: winamp504_sdk_for_delphi.exe Available if you give me upload account (FTP). Send it as a private message or E-Mail if you care about privacy! I will ofcourse not tell everybody, I have some decency, you now? |
|
|
|
|
|
#11 |
|
Junior Member
Join Date: Dec 2003
Posts: 11
|
Hi! I've written a plugin to sort the plugins item by the length (I know there is a plugin by Peter Windridge but it is a bit 'limited') but I've got some problem. I've written 4 methods to sort the contents but 3 of them doesn't work (however they should)and I can't figure it out why.The method which is working is VERY SLOW.Please somebody help me!
Thanks! pp http://tvn.hu/sid12poiuztrewqasdfghj...ylength_00.zip |
|
|
|
|
|
#12 |
|
Banned
Join Date: Jan 2001
Location: Norway
Posts: 927
|
A real deserved update. Hope I get to see more plug-in using this SDK.
@pinterpeti: That link leads me to nowhere. You must only use English when communicating with me. And that site is definitivley not English.
I have made a slight update to my Winamp SDK for Delphi. It's nothing brand new, but the Input plug-in sample now includes Media Library support. This means that is now exports these functions: - winampGetExtendedFileInfo - winampSetExtendedFileInfo - winampWriteExtendedFileInfo Download release 4 of the SDK: winamp504_sdk_for_delphi.exe 598 KB And remember that the SDK includes compiled versions of all the sample plug-ins. Not to skilled developers: I need help in translating the Video Interface part from wa_ipc.h to Object Pascal. Just using an Object Pascal Class doesn't work. This is also needed in order to translate the AVS APE (Advance Plug-in Effect) sample from C++ to Object Pascal. I really can't figure out those C++ classes. |
|
|
|
|
|
#13 |
|
Junior Member
Join Date: Jun 2005
Posts: 4
|
What do you guys use to create resource Dialogs for a Winamp Plugin?
And which properties does it need? |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|