Autor Beitrag
holgerbremen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 120



BeitragVerfasst: Di 13.02.07 13:33 
Hallo,

ich möchte herrausfinden, ob die Anwendung aus der IDE heraus oder als EXE gestartet wird. Gibts da Schalter, die ich beim Programmstart abfragen kann.

Gruß
Holger
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 13.02.07 14:27 
Moin!

user profile iconholgerbremen hat folgendes geschrieben:
ich möchte herrausfinden, ob die Anwendung aus der IDE heraus oder als EXE gestartet wird.

Ich mach das immer so:
Als Startparameter in der IDE "/DEBUG" eintragen und in der Anwendung untersuchen, ob ein ParamStr() = /DEBUG ist. ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Ramon
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 107

WIN7
D6 Prof, D7 Prof, D 2009
BeitragVerfasst: Di 13.02.07 14:49 
Du könntest natürlich auch überprüfen, ob die IDE gerade läuft.

Dies würde das Programm allerdings auch bemerken, wenn du es nicht aus der IDE startest, diese aber gerade läuft.
Grenzgaenger
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 13.02.07 14:51 
holgerbremen Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 120



BeitragVerfasst: Di 13.02.07 15:26 
Danke, die Antworten sind ja mehr aus ausreichend.

Gruß
Holger