title: in c++ how to call dll function with the same signature from different libraries?
body: <p>In C# I have very easy code:</p>
  
  <pre><code>class MicexBridgeNativeAdapterWrapper
  {
      [DllImport("MicexBridgeNativeAdapter.dll", CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity]
      public static extern bool Connect();
      ...
  
  
  class CGateNativeAdapter
  {
  
      [DllImport("CGateNativeAdapter.dll"), SuppressUnmanagedCodeSecurity]
      public static extern bool Connect();
      ....
  </code></pre>
  
  <p>Then I just call <code>MicexBridgeNativeAdapterWrapper.Connect()</code> or/and <code>CGateNativeAdapter.Connect()</code> So I imported functions with completely the same signatures from two different dlls and use them at the same time.</p>
  
  <p>Now I want to use these dlls from C++. What is C++ analog of the code above?</p>