Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

about DLL

Status
Not open for further replies.

jacc

Programmer
Oct 19, 2001
3
NL
I wrote a Dll, but now I want to get rid of de text en icon in the taskbar.
Does somebody knows how ? I use Paradox database.
Thanks,
Eric
The Netherlands







 
hi jacc,

here's a way how to get rid of the panel in the task bar.

Look at Delphi help topic "TApplication.Handle":
You have to assign the window handle of the host EXE’s main window to the DLL’s Application.Handle property.

So in the first line of your exported dll procedure write:
Application.Handle := MainFormHandle;

where MainFormHandle contains the Application.MainForm.Handle of the exe file.

In my dll I'm using a exported procedure to set MainFormHandle. Maybe there's even a smarter way.

Roderich
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top