Explorar o código

* Fixed error (AV) in StartService()

git-svn-id: trunk@17528 -
michael %!s(int64=14) %!d(string=hai) anos
pai
achega
38a7be5cca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/fcl-extra/src/win/ServiceManager.pas

+ 1 - 1
packages/fcl-extra/src/win/ServiceManager.pas

@@ -698,7 +698,7 @@ begin
     Pargs:=StringsToPcharList(Args);
     end;
   Try
-    If not jwawinsvc.StartService(SHandle,Argc,PArgs^) then
+    If not jwawinsvc.StartService(SHandle,Argc,Pchar(PArgs)) then
       RaiseLastOSError;
   Finally
     If (PArgs<>Nil) then