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.

Unable to reference COM

More
27 Jul 2016 08:57 #4271 by support
Replied by support on topic Unable to reference COM
Trying to resolve this error is somewhat pointless, because you should not be doing it like this in the first place.

In an unmanaged C++ project, you do not add references to the project itself. You just use #import directives.

In a managed C++ project, right-click on it in the Visual Studio Solution Explorer, select Common Properties -> Framework and References, press "Add New Reference", and select the assemblies (which one is which is described in the Concepts doc).

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

More
27 Jul 2016 08:35 #4269 by olab
Replied by olab on topic Unable to reference COM
SOLVED

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

More
27 Jul 2016 07:46 #4268 by olab
Unable to reference COM was created by olab
I'm trying to reference to the OPCLabs COMObject in C++ but keep getting an error:

Error HRESULT E_FAIL has been returned from a call to a COM component.

Can you please tell me what's wrong?

Attachments:

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

Moderators: support
Time to create page: 0.052 seconds