TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Aaron Berndt
NA
1
1.4k
C# Skype Bot (Windows Service)
Aug 6 2015 9:06 AM
I've been working on a Skype bot program.
The idea is the when the user sends messages to the bot with certain keywords it will provide the results of a SQL script that is run in the background.
I've been able to get it to work as a Windows console app , but I'm trying to convert it into a Windows service.
I've tried using Top Shelf and the Visual Studio Windows service template, both are not working. I'm able to install the Windows service, but when I try to run it it fails.
I keep getting this error
Service cannot be started. System.Runtime.InteropServices.COMException (0x80040200): Not attached. at SKYPE4COMLib.ISkype.Attach(Int32 Protocol, Boolean Wait)
This happens as soon as the program tries to attach its self to Skype.
skype.Attach(7, true);
I've come to the conclusion that the Windows service and Skype are on different levels and cant see each other.
I was was wondering is there any way to change this or is it impossible?
Reply
Answers (
0
)
How to Consume Asp.net web services application in Android
Local System security is not allowing log creation