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

Listing/Connecting to Local OPC Server (Kepware) not working on 64-bit version #4

Open
natoferreira opened this issue May 25, 2017 · 3 comments

Comments

@natoferreira
Copy link

natoferreira commented May 25, 2017

Hey guys,
I was using the demo (64-bit compilation) with no issues when listing/connecting to remote OPC servers. Now that I need to list the local servers and connect to one of them, I always get:

  • No servers listed, when "iCatInfo->EnumClassesOfCategories(1, Implist, 0, NULL, &iEnum);" is called;
  • "REGDB_E_CLASSNOTREG Class not registered" (0x80040154), if I ignore the list and force try to connect to a given server (specifically when I call iUnknown->QueryInterface(IID_IOPCServer, (void**)&iOpcServer);).

If I compile everything on 32-bit, everything works flawlessly.

I'm on a Windows 7 64-bit with KepWare 5.11. I've also installed OPC Core Component 3.0.105.1 and then moved to 3.0.106 to try solving the issue, but no luck.

Are you guys facing the same issues on a 64-bit system? Any guesses on what may be wrong?

@natoferreira natoferreira changed the title Listing/Connecting to Local OPC Server (Kepware) not working on 64-bit Version Listing/Connecting to Local OPC Server (Kepware) not working on 64-bit version May 25, 2017
@RedQueen42
Copy link

Did you find a solution for this problem? I may have the same right now.

@MatrixYuQ
Copy link

I have the same question.I used OPC servers is KEPServerEX 6 and OPC Core Component 3.0.105.1 .

@MatrixYuQ
Copy link

On 64-bit.I don't get OPC Server list.But i force try to connect server is OK.

gc87 added a commit to gc87/OPC-Client-X64 that referenced this issue Aug 4, 2022
feat: sync read and write completed
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

3 participants