To implement OPC client application in Visual C + + or C + + Builder environment, we must first download OPC header file ("opcda") from OPC International Foundation official website_ i.c"、"opcda.h" 、"opccomn_ i. And load the header file in "tool" → "options" → "directories" of Visual C + + project. Then log in to com, connect to server, read and write data.