Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the OPCClientDemo.exe can't the server list #19

Open
Cpppro opened this issue Jun 30, 2024 · 1 comment
Open

the OPCClientDemo.exe can't the server list #19

Cpppro opened this issue Jun 30, 2024 · 1 comment

Comments

@Cpppro
Copy link

Cpppro commented Jun 30, 2024

image

I have debug find the problem is:
CoCreateInstanceEx(requestedClass, nullptr, serverLocation, &requestedServerInfo, 1, &reqInterface);

return failed.

@duduyoyo
Copy link

duduyoyo commented Jul 18, 2024

It looks like you don't have 64-bit proxy dll registered properly.

Alternatively, if you don't want to deal with win32 API like CoCreateInstanceEx() you can try this 64-bit solution. No COM and DCOM is involved, so no DCOM remote call back issue to worry. No OPC C++ component SDK is required either. Besides C++, you can use any preferred static or dynamic languages like Python or JavaScript to access DA data quickly and easily. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants