mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 07:34:28 +02:00
* Changed Win32 DLL entry point names (removed @12 at the end).
git-svn-id: trunk@2770 -
This commit is contained in:
parent
d48f512146
commit
1d58b572b5
@ -1152,10 +1152,10 @@ begin
|
||||
if apptype=app_gui then
|
||||
begin
|
||||
AppTypeStr:='--subsystem windows';
|
||||
EntryStr:='--entry _DLLWinMainCRTStartup@12'
|
||||
EntryStr:='--entry _DLLWinMainCRTStartup'
|
||||
end
|
||||
else
|
||||
EntryStr:='--entry _DLLMainCRTStartup@12';
|
||||
EntryStr:='--entry _DLLMainCRTStartup';
|
||||
if assigned(DLLImageBase) then
|
||||
ImageBaseStr:='--image-base=0x'+DLLImageBase^;
|
||||
if (cs_link_strip in aktglobalswitches) then
|
||||
|
@ -513,7 +513,7 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
procedure _FPC_DLLMainCRTStartup(_hinstance,_dllreason,_dllparam:longint);stdcall;public name '_DLLMainCRTStartup@12';
|
||||
procedure _FPC_DLLMainCRTStartup(_hinstance,_dllreason,_dllparam:longint);stdcall;public name '_DLLMainCRTStartup';
|
||||
begin
|
||||
IsConsole:=true;
|
||||
sysinstance:=_hinstance;
|
||||
@ -523,7 +523,7 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
procedure _FPC_DLLWinMainCRTStartup(_hinstance,_dllreason,_dllparam:longint);stdcall;public name '_DLLWinMainCRTStartup@12';
|
||||
procedure _FPC_DLLWinMainCRTStartup(_hinstance,_dllreason,_dllparam:longint);stdcall;public name '_DLLWinMainCRTStartup';
|
||||
begin
|
||||
IsConsole:=false;
|
||||
sysinstance:=_hinstance;
|
||||
|
Loading…
Reference in New Issue
Block a user