好像不只是和数据库访问的问题,我定义了一个按钮,打开另外一个对话框,然后关闭,在关闭主对话框时,也会出现哪个问题,以下是提示错误: f:\考生考试系统\debug\msado15.tlh(405) : warning C4146: unary minus operator applied to unsigned type, result still unsigned Compiling...
f:\考生考试系统\debug\msado15.tlh(405) : warning C4146: unary minus operator applied to unsigned type, result still unsigned Compiling... 这是正常的,只要是引入ADO库就会这样。
例如: m_db=NULL; m_record=NULL;
不要用 m_db.close();
if(m_pConnect != NULL)
m_pConnect = NULL;
f:\考生考试系统\debug\msado15.tlh(405) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
Compiling...
要把握处理的时间长度,这里只允许很短时间的操作
Compiling...
这是正常的,只要是引入ADO库就会这样。