Skip to content

Commit

Permalink
fixed Service status on Win64
Browse files Browse the repository at this point in the history
- the Handle was sometimes truncated to 32-bit
  • Loading branch information
Arnaud Bouchez committed Oct 26, 2022
1 parent 3319adb commit 66bbc6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/mormot.core.os.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3709,7 +3709,7 @@ function RegisterGlobalShutdownRelease(Instance: TObject;
end;

SC_HANDLE = THandle;
SERVICE_STATUS_HANDLE = cardinal;
SERVICE_STATUS_HANDLE = THandle;
TServiceTableEntry = record
lpServiceName: PChar;
lpServiceProc: procedure(ArgCount: cardinal; Args: PPChar); stdcall;
Expand Down
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'2.0.4237'
'2.0.4238'

0 comments on commit 66bbc6d

Please sign in to comment.