Just check the DebugHook variable while running. If this is 1 then you are running under the debugger. If this is 0 you are not running under the debugger.
cheers, Jeremy http://www.jed-software.com __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
