mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 03:39:31 +02:00
* baseaddr must be nil on windows
git-svn-id: trunk@11030 -
This commit is contained in:
parent
5c6836e794
commit
873409cd3c
@ -80,7 +80,6 @@ uses
|
||||
filename:=ParamStr(0)
|
||||
else
|
||||
begin
|
||||
baseaddr:=Tmm.AllocationBase;
|
||||
TST[0]:= #0;
|
||||
GetModuleFileName(THandle(Tmm.AllocationBase), TST, SizeOf(TST));
|
||||
filename:= String(PChar(@TST));
|
||||
|
Loading…
Reference in New Issue
Block a user