Access Voilation at Windows XP (At Shutdown/Restart)

Please discuss general Delphi programming topics here.

Access Voilation at Windows XP (At Shutdown/Restart)

Postby titledelphi » June 29th, 2007, 11:23 am

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).
titledelphi
Member
Member
 
Posts: 1
Joined: June 29th, 2007, 11:06 am

Postby Kambiz » July 2nd, 2007, 1:13 am

I don't know the reason but I know the only way that you can figure out the problem is logging the program activities during Windows shutdown.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 26 guests

cron