Explorar el Código

* Fixed error (AV) in StartService()

git-svn-id: trunk@17528 -
michael hace 14 años
padre
commit
38a7be5cca
Se han modificado 1 ficheros con 1 adiciones y 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