make sure to include the unit SYSTEM in your uses section anywhere needed in your code write
if (DebugHook <> 0) then // you are running from Delphi IDE else // you are running the .exe Note: This is only specific to windows, when compiling you will get the following message [Warning] Unit1.pas(23): Symbol DebugHook is specific to a platform -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of Kinan Qassar Sent: Wednesday, October 05, 2005 11:35 AM To: [email protected] Subject: [delphi-en] How can I know if the application running from Delphi Dear All, Kindly please how can I know if I my application running from Delphi, it will help me to know if the my trial components to let them work when Delphi working and do something else if the application working alone. Regards, Kinan ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] ---------------------------------------------------------------------------- ---- YAHOO! GROUPS LINKS a.. Visit your group "delphi-en" on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. ---------------------------------------------------------------------------- ---- [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/i7folB/TM --------------------------------------------------------------------~-> ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

