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.
Cannot Compile mscorlib.tlh (C++, VS 2017)
Sorry that I had you waiting - but in the end, it would have been impossible for me to figure it out anyway, without having your source code that contained the cause.
Best regards
Please Log in or Create an account to join the conversation.
Thanks!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
can you post the generated mscorlib.tlh file too?
(please zip it first)
Thank you
Please Log in or Create an account to join the conversation.
I've attempted to add quick OPC to our visual studio project. As far as I can tell I've replicated the project setup from the examples (which I re-targeted to the v141 toolset and compiled just fine.)
Based on the headers in the examples, the header where I would like to interface with Quick OPC looks like this:
I've copied the SDK folder into my visual studio project (it's policy for us to keep our dependencies in a 'deps' folder), and set up VS to copy the appropriate files to our output directory + correctly link QuickOPC.h.
However when I try to compile I run into problems with mscorlib.tlh (& .tli), many syntax errors are thrown. Many of the errors look like:
See the attached file 'pcs-supervisor.log' which is the build log (with the highest verbosity) from visual studio for more. I have also included the projects .vcxproj file.
Is there a setting in my configuration that is incompatible with mscorlib? I've googled around already no no avail.
Please let me know if there's any other useful information I can provide.
Thanks,
(PS, sorry for resubmitting, files didn't attach.)
Please Log in or Create an account to join the conversation.