New Posts New Posts RSS Feed - Windows service cannot open device
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Way2call telephony device is your ultimate telephony integration solution!

Windows service cannot open device

 Post Reply Post Reply
Author
sk View Drop Down
Newbie
Newbie


Joined: May 15 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote sk Quote  Post ReplyReply Direct Link To This Post Topic: Windows service cannot open device
    Posted: May 15 2009 at 9:56am
Using the .NET SDK I am developing a windows service to interact with the desktop pro. When I try to open the device (w2cDrv.Device.Open(0)) after initializing the driver it throws the following exception: "Unable to cast object of type 'WindowsServiceName' to type 'System.ComponentModel.ISynchronizeInvoke.

If I transfer the same snippet of code into a Windows forms application there is no problem.

Does anyone know what the issue might be, thanks.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.109 seconds.