Winamp plugin trouble

Posted on 1998-05-07
Last Modified: 2013-11-18
I'm making a winamp plugin and have some problems with creating forms.
If I use system calls to create a window it works fine but I want to use forms.
As soon as I run "pluginform.create(bla bla);" it crashes...
Anyone know anything 'bout this?
Btw. I'm a beginner at Windows programming.

Question by:andersh012098
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 1342711
I'm not familar to the Winamp plugin API. What is the call to create the window ? How did you succesfuly create a window ? What do you mean with "pluginform.create(bla bla);" ?


Expert Comment

ID: 1342712

Author Comment

ID: 1342713
The plugin is a DLL.
I can create a window by using windows api but then it's so much trouble to make buttons and all that. Therefore I want to use a form.
The form can't be autocreated becase it's in a library and therefore I must create it in runtime and that's done with the tfrom.create procedure. What I ment by "bla bla" is the parent witch is winamp.


Accepted Solution

d003303 earned 100 total points
ID: 1342714
you cannot use Winamp as a parent. The TForm.Create method needs an object pointer to a component, Winamp isn't a Delphi component.
I think you have the handle to the Winamp window. So use TForm.CreateParented(TheHandle) to create the form. Then it will show 'real' modal to Winamp when you call ShowModal.


Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month3 days, 17 hours left to enroll

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question