困扰好久的问题,希望各位高手帮解决,十分感谢(在线等待)
我想在WindowService运行WindowForm如何实现?!
当我在OnStart中执行System.Windows.Forms.Application.Run(new form1());
调试没错,当注册该服务上去时点Start这个服务时出错,不能完成Start;
当我把System.Windows.Forms.Application.Run(new form1());去掉时就不会出错.
Error 1053:The service did not respond to the start or control request in a timely fashion.