title: Integrate a COM object in a C++ CLR Console App
body: <p>I am trying to use a COM object in a C++ CLR Console App as I did in C#. (it comes from statconn) I am new with the C++ CLR code and I don't find sample explaining how it works
  I did the following things:</p>
  
  <pre><code>using namespace StatConnTools;
  using namespace StatConnControls;
  using namespace StatConnectorCommonLib;
  using namespace STATCONNECTORSRVLib;
  STATCONNECTORSRVLib::StatConnector^ oStatCon = gcnew  STATCONNECTORSRVLib::StatConnector();
  oStatCon::IStatConnector::Init(L"R");
  oStatCon::IStatConnector::Close();
  </code></pre>
  
  <p>I get the message : oStatConn must be a class or namespace when followed by ::</p>
  
  <p>thanks for help</p>