Oops - strike that, I didn't read your second sentence. Sorry.
Main Topics
Browse All TopicsHi All,
How can I detect the Delphi IDE is running when my application is running outside of IDE as Stand-Alone EXE ?
I need the answer without using FINDWINDOW Command. Thanks
Regards,
MatrixWorld
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi Geo,
If using the FindWindow security to control Trial Version is easy to break it (just using Windows.RegisterClass & CreateWindow to break it), and if using running processes to get the file names for DELPHI32.EXE more easy to break it (just create the DELPHI32.EXE), any other solution that can I use it ? Thanks for Help.
Hi Arjanh,
Your method I try only working if I press F9 to run it can check Delphi IDE is running but I running the Application it self, it told me that the Delphi IDE is not running although Delphi IDE is running. Thanks for Help.
Regards,
MatrixWorld
Delphi contains the source for the entire VCL, including the design interface. Many components behave one way when working under the designer, and another way when when working under your application.
For example, a TDatamodule has a visible window and editors when run under the IDE. But it has no visible representation in your application. The code for a TDatamodule is in the VCL source code. It should have what you need to get started.
Business Accounts
Answer for Membership
by: arjanhPosted on 2003-11-05 at 02:41:46ID: 9685719
if (FindWindow('TApplication' , nil) = 0) or ', nil) = 0) or ector', nil) = 0) or nil) = 0) then
(FindWindow('TAlignPalette
(FindWindow('TPropertyInsp
(FindWindow('TAppBuilder',
begin
ShowMessage('Delphi is not running!');
end