title: stored procedure float parameters being split into two int parameters
body: <p>As I'm calling a stored procedure from a C++ code my float parameters somehow are split like this: 34.555 => 34,555, and an error arises as the number of parameters mismatch.</p>
  
  <p>This is how I add parameter to _CommandPtr</p>
  
  <pre><code>    ... 
      VARIANT VtLon = {0};
      VtLon.vt = VT_NULL;
  
      if(TargInf.dwFields &amp; TI_FIELD_LON )
      {
          VtLon.vt = VT_R8;
          VtLon.dblVal = TargInf.dLongitude;
      }
      param = pCommand_LogNewEvent-&gt;CreateParameter( _bstr_t( L"lon" ), adDouble, adParamInput, sizeof( double ), VtLon );
      pCommand_LogNewEvent-&gt;Parameters-&gt;Append( param );
      ...
  </code></pre>
  
  <p>I changed the sql server Default Language from Russian to English and the problem was gone.
  But I need a way to manage it without such a global setting.</p>