Eter_
Wed Jan 11 2006, 17:55
Hello,
I have a testing program written in C than run perfectly using the Skype API, but when I use the SAME code but from a Windows Service (not a regular process) Skype is not responding when I try to do the SkypeControlAPIDiscover broadcast message, and therefore is not connecting to Skype.
The service is sending the message well because other windows catch the broadcast message, and the service receives messages well because it receives the SKYPECONTROLAPI_ATTACH_API_AVAILABLE message when Skype connects.
I think that Skype performs a check to the program that is trying to connect, and it fails for an strange reason.
Anybody knows why it fails?
thanks in advance!!
GeMe_Hendrix
Mon Oct 15 2007, 10:41
Well I've finally solved this particular problem. Simply do the following to get your Windows Service communicating with Skype...
- Windows Control Panel
- Administrative Tools
- Services
- Find your Windows Service
- Right click and go to the Service's properties
- Go to the 'Log On' tab
- Select 'Allow service to interact with desktop'
- Click 'OK'
- Now restart the service
- Heh presto, it your service should now communicate ok with Skype!
TheUberOverlord
Mon Oct 15 2007, 19:08
QUOTE(GeMe_Hendrix @ Mon Oct 15 2007, 04:41) [snapback]452191[/snapback]
Well I've finally solved this particular problem. Simply do the following to get your Windows Service communicating with Skype...
- Windows Control Panel
- Administrative Tools
- Services
- Find your Windows Service
- Right click and go to the Service's properties
- Go to the 'Log On' tab
- Select 'Allow service to interact with desktop'
- Click 'OK'
- Now restart the service
- Heh presto, it your service should now communicate ok with Skype!
There are changes with system services and session 0 ("The ability to interact with the desktop") in Vista please see this:
http://www.microsoft.com/whdc/system/vista/services.mspx