Windows service

Windows specific forum
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5353
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Windows service

Post by Kwai chang caine »

Thanks a lot that works now with the link 8)
http://codesite.atwebpages.com/PureBASIC/Able2.html
ImageThe happiness is a road...
Not a destination
User avatar
Pierre Bellisle
User
User
Posts: 35
Joined: Wed Jun 27, 2018 5:12 am

Re: Windows service

Post by Pierre Bellisle »

It seems that my web server did not like the zip files package.
It is now a .rar file.

To dowload all files together, goto A Windows service that start a GUI application launcher

Rename able.purebasic to able.rar and use purebasic as password.
PBJim
User
User
Posts: 29
Joined: Fri Jan 19, 2024 11:56 pm

Re: Windows service

Post by PBJim »

Can anyone clarify the purpose and usage of the manifest and resources files in this service application please? I'm finding that the code at http://codesite.atwebpages.com/PowerBAS ... ServiceGUI causes a Windows service error.

Compiling it as able.exe, in ASM or C, the service installs, starts, stops and uninstalls successfully, but when stopping, Windows reports that it failed :
Windows could not stop the Able service service on Local Computer. Error 183: Cannot create a file when that file already exists
Note that Windows reports : "could not stop" the service, but in fact it stops successfully.

By contrast, running as command net stop able reports that it stopped successfully, although it also reports that same error :

Code: Select all

net stop able

A system error has occurred.
System error 183 has occurred.
Cannot create a file when that file already exists.
The Able service service was stopped successfully.
Results are identical between Windows 10 64-bit and Windows Server 2016 (latter run entirely as administrator).
Post Reply