Runtime Error
-
Hi,Everyone: when i build the program in server machine, it runs well; but if i build it in local machine and upload, then i got a Runtime Error.
-Microsoft Visual C++ Runtime Library- d:\vcydcj.exe abnormal program termination.
is it normal, cos the difference of Op-System? Server Machine: Windows 2000 Professional Local Machine: Windows Xp & it seemed problem happened when it runs to these code:CADOParameter pParamIn_Readnum(CADORecordset::typeInteger, sizeof(int)); pParamIn_Readnum.SetValue(pMydoc->rwbossdlg.m_nReadNum); CADOCommand pCmd(pAdoDb_RB, "ydcj_getdata_574"); pCmd.AddParameter(&pParamIn_Readnum); pRs_RB = new CADORecordset(pAdoDb_RB); pRs_RB->Execute(&pCmd));
Thx! ________________________________________ Many nights we've prayed with no proof anyone could hear, we were moving moutains long before we knew we could! Yet now i'm standing here, although we know there's much to fear, hope seemed like summer bird too swiftly flown away ... There can be miracles! When you believe, though hope is frail, it's hard to kill! Who knows what miracles, you can achieve! When you believe, somehow you will ... YOU WILL WHEN YOU BELIEVE