Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Windows Services and Type Mismatch

More
10 Sep 2012 14:08 #1012 by support
Hello,

Is the Type Mismatch happening in the SubscribeItem method, or somewhere else?
Can you post a relevant piece of your code around the probleamatic call?
Are you catching the exception (if so, how?), or is it crashing the service?
We need to know the details of the exception (in Visual Studio, you can Copy them to Clipboard) - all of them, but especially the Stack Trace.

Thank you

Please Log in or Create an account to join the conversation.

More
09 Sep 2012 20:31 #1010 by peer@barcode.dk
Then I create a new Subscription like:SubscribeItem("", "OPCLabs.KitServer.2", "Simulation.Register_ArrayOfBOOL", 200); do I not have any problems inside a Form Application. But if I used it inside a Windows Service. I got an Type mismatch error! Any solutions for this?


server.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.041 seconds