Application as Windows Service
Blitz3D Forums/Blitz3D Programming/Application as Windows Service
| ||
Hello, is possible to make an Blitz Application running as Windows Service (Win2k3 Server) ? Thanks for reply. |
| ||
This might help. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconCreatingNTServiceApplications.asp If you don't understand it check out Programming Windows by Charles Petzold from your local library. |
| ||
The answer is yes for any EXE, and here is how: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q137/8/90.asp&NoWebContent=1 Cheers, Stu |
| ||
SrvAny.exe is a terrible hack for running a program compiled to be an executable application as a service. It is flakey and tempermental. When you stop the ServAny (service) the application will continue to run. If you plan on using this in a production environment be prepaired to defend your job title. In my experience we often find that ServAny will occasionally start more than one occurance of the application. Take Heed. |
| ||
It does... clogged up the network I am on and had to be murdered by the IT Admin several times before it would die die die!!! (memory hog as well but I am thinking that was really my program!) RZ |
| ||
...and I presented a solution that will work with Blitz. I certainly am not arguing that Blitz or SrvAny is a robust solution. Blitz does not allow one to compile an exe with the necessary entry points for a real service application, so I was just lending a hand. Cheers, Stu |
| ||
Hey, just wondering, what is a Windows Service? |
| ||
StuC Your correct, I didn't meen to direct offence in your general direction. One CAN use SrvANY to make an executable start from services manager, But most people will not recommend using it in a production environment where lives, money, or productivity are risked by system downtime. |
| ||
thanks to all, but when the exe start then the blitz application (if window application) run in a normal window mode ? |