What are the advantages and disadvantages of developing a server in Visual Basic vs. C++?
Developing a server in Visual Basic using one or both of the ActiveX controls offers many advantages over development using native C/C++ or the template library: • No COM expertise required, • Simplified development (only 16 event handlers), • Much faster development cycle, • All OPC interfaces fully debugged for interoperability, • Visual Basic offers natural advantages for many project types (e.g. where the target device exposes itself via an ActiveX interface or where the target application is a Visual Basic application). The OPC Template library offers C++ developers many of the same advantages as the control, and provides additional capabilities. However, it requires a strong background in both COM and ATL. • COM and ATL expertise required, • Simplified development (all server routines contain base class implementations; you only need to override methods when you want to change the default behaviors), • Faster development cycle, • All OPC interfaces fully debugged for interoperabi