Autor Beitrag
mick
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 159



BeitragVerfasst: Di 14.12.04 22:07 
moin moin.

kurz nachgehorcht:

wo liegt bei folgenden befehlen der unterschied?

ausblenden Delphi-Quelltext
1:
2:
ExtractFilePath(Application.ExeName)
ExtractFilePath(ParamStr(0))


danke + ciao,
mijozi.


Moderiert von user profile iconTino: Topic aus CLX / Delphi Language (Object-Pascal) verschoben am Di 14.12.2004 um 23:23
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 14.12.04 22:21 
Es gibt keinen. Die Eigenschaft Application.Exename ruft intern wohl sowieso die Funktion ParamStr(0) aus der System Unit auf.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 14.12.04 22:30 
Könnte man also für die VCL-Verachter anmerken:
Das eine läuft mit, das andere ohne Forms.pas (und ist somit bis zu 200 KB kleiner).

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
mick Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 159



BeitragVerfasst: Di 14.12.04 22:55 
danke, leute!

ciao,
mijozi.