RobotStudio event

How to connect a cameras which is programming with c++ with ABB robot

I want to connect the microscopic cameras( now i do not which series it belonged to)to the ABB Robot to control the robot to move with the camera, but the SDK with the cameras is C++,while the ABB robot  PC SDK is c#. now how can i do to use them easily.  Should i  control the robot still the pc sdk with c#, and converse the c# to a .dll, then using c++ to call it.
Or all programming i can using c++(both control cameras and  control th robot),and using socket message to communicate. but i do not know how to send or receive message with the robot with a designed c++ programming.