

14:41, EET

January 18, 2021

I am trying a simple connection to a UA OPC server using the TPsOPCServer component
The server is remote, and it is working corretcly, I can connect to it without any problem using the UAExpert client
If I set the host adress and try to activate the connection, I receive this error :
Cannot connect to OPC Server \\opc.tcp://192.168.10.241\:Server Name cannot be converted to a valid ClassID
Could you help me ?
Thanks
16:44, EET

December 21, 2011

18:09, EET

January 18, 2021

Thanks, I’ve tried to compile and run the UaSampleClient but I have a link error.
I’ve tried to create a simply C++ Builder application with an empty form dragging in a TUaClient objtect and I have several unresolved external link error, how do I have to configure the libraries / linker path ?
Thanks
18:42, EET

January 18, 2021

Here you are some of them
[ilink32 Error] Error: Unresolved external ‘_OpcUa_P_Initialize@4’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UACLASSES.OBJ
[ilink32 Error] Error: Unresolved external ‘_OpcUa_ProxyStub_Initialize@8’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UACLASSES.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_Initialize’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_Clear’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_GetSize’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_Encode’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_Decode’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_StructureField_Initialize’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_StructureField_Clear’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_StructureField_GetSize’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_StructureField_Encode’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
1 Guest(s)
