- Posts: 11
- Thank you received: 0
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.
connect the c++ to quickopc
- TONY CHIAM
-
- Offline
- Premium Member
-
*******************************************************************
error C2039: 'ItemId' : is not a member of 'OpcLabs_EasyOpcClassic::_DAItemDescriptor'
1> c:\users\user\documents\visual studio 2010\projects\opctest3\opctest3\debug\opclabs.easyopcclassic.tlh(2350) : see declaration of 'OpcLabs_EasyOpcClassic::_DAItemDescriptor'
Please Log in or Create an account to join the conversation.
Use the #import-s precisely as in our example. If that gives a problem, tell me what the problem is.
Best regards
Please Log in or Create an account to join the conversation.
- TONY CHIAM
-
- Offline
- Premium Member
-
- Posts: 11
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- TONY CHIAM
-
- Offline
- Premium Member
-
- Posts: 11
- Thank you received: 0
fatal error C1083: Cannot open type library file: 'c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.6.1\mscorlib.dll': Error loading type library/DLL.
Thank for replying
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- TONY CHIAM
-
- Offline
- Premium Member
-
- Posts: 11
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...ame.html#COM%20Components.html
- opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...pment%20Libraries%20(COM).html
- opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...0the%20Components%20(COM).html
- opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...nts%20for%20OPC%20Classic.html
In C++, after having installed QuickOPC, you basically just need to add the #import directives to the code, as shown in the code samples.
For example, from EasyOPCDADemoDlg.h file in the EasyOPCDADemo project:
Regarding connection to your specific server, I suggest that you start by determining its ProgID and then an ItemID of some "tag" in the server, and modify our example(s) with this information.
Best regards
Please Log in or Create an account to join the conversation.
- TONY CHIAM
-
- Offline
- Premium Member
-
- Posts: 11
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- TONY CHIAM
-
- Offline
- Premium Member
-
- Posts: 11
- Thank you received: 0
Please Log in or Create an account to join the conversation.