NT-Services

Everything else that doesn't fall into one of the other PB categories.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by lapo.

Hello!

I want to write a NT/W2K-Service with PureBasic.
Has anybody any experience with it??

Bye

Ralf
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by WolfgangS.

Hi Lapo, ...

Welcome here in the community :)

I don't know what you mean with "Service",
but feel free to ask further questions and
join the PB Chat at irc.debian.org #PureBasic

MFG
:)WolfgangS
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by lapo.

Hi,

i mean the NT-Services, who can run programs without an Logon as an user!

Bye

Ralf
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Berikco.

Take a look here.
http://www.codeproject.com/system/xyntservice.asp

Regards,

Berikco

http://www.benny.zeb.be
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by WolfgangS.

HI
hmmm i have no clue about this theme but if it's possible with WinAPI you can do it.
The Reason is you have full access to WinApi via PureBasic.

Code: Select all

beep_(1000,1000)
MFG
WolfgangS
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.

The only way I knew of was the 'RegisterServiceProcess' API command.
But it's only available under Win9x (maybe also under WinNT 3.x/WinNT4).

Under Win2000 and WinXP Micro$oft wiped this API command completely.
Didn't find any information why.

Maybe to many people coded trojans over this function...



Have a nice day...

Franco
Post Reply