Hi,
I have compiled two Delphi Projects CTSS.dpr(Service application) and CTSSMGR (application).
Service is started using the CTSSMgr application which is GUI based.
I have compiled these projects on Windows XP Service Pack 2 and Delphi version Delphi 7.0 (Build 8.1).
This work absolutely fine, as it is supposed to do. But when i shutdown or restart the wndows, without stopping the service it generates an Access Voilation Error.
But if the same source is compiled on Windows 2000 server or professional edition it does not give this error.
So in summary:
1-Compilation in Delphi 7.0 (Build 8.1) and Windows XP Professional with Service pack 2, Cause access voilation on shutting down the window(window 2000, or windows xp).
2-Compilation in Delphi 7.0 (Build 8.1) and Windows 2000 (Server or prfessional edition) does not cause any access voilation on shutting down the window(window 2000, or windows xp).