开发者

How to handle win32 services in windows 2000 platform

I ve designed a win32 service in windows XP its working fine. but the problem i'm facing is that it's not working properly in windows 2000 platform. that is stoppi开发者_如何学编程ng the service restarting the service. is there any setting or need to change in code to be done.


Is it possible you have used an API that was new on WinXP?

For an interactive applications you would get a popup about an unresolved import, if I recall correctly for services these are recorded in the system event log.

If it is hanging, take process dumps and feed them into a debugger with symbols (both Microsoft's and yours) configured. That will show you the stacks of the threads, and allow you to check for deadlocks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜