title: I use stand SQL API (DB-Library) to connect SQLSERVER, but I found it generates a memory overflow
body: <pre><code>            strcpy(sSqlStr, " execute JZJY_batchorder ");
              _ltoa(m_iSHSQLREC_NUM, sValue, 10);
              strcat(sSqlStr, sValue);
              strcat(sSqlStr, ",");
              _ltoa(iBatchCnt, sValue, 10);
              strcat(sSqlStr, sValue);
              strcat(sSqlStr, ",'");
              strcat(sSqlStr, sBatchOrder);
              strcat(sSqlStr, "'");
  
              m_sqlSHWT.sql_exec_cont(sSqlStr);
              iRet = m_sqlSHWT.sql_begin_getrows();
  </code></pre>
  
  <p>I have to use the stand SQL API, but it generates a memory overflow.</p>