c++ - stored procedure float parameters being split into two int parameters -


as i'm calling stored procedure c++ code float parameters somehow split this: 34.555 => 34,555, , error arises number of parameters mismatch.

this how add parameter _commandptr

    ...      variant vtlon = {0};     vtlon.vt = vt_null;      if(targinf.dwfields & ti_field_lon )     {         vtlon.vt = vt_r8;         vtlon.dblval = targinf.dlongitude;     }     param = pcommand_lognewevent->createparameter( _bstr_t( l"lon" ), addouble, adparaminput, sizeof( double ), vtlon );     pcommand_lognewevent->parameters->append( param );     ... 

i changed sql server default language russian english , problem gone. need way manage without such global setting.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -