AfxMassageBox(e.ErrorMessage());
AfxMassageBox(e.Description());
查看错误信息
数据库连接失败:未知指针
在App类的InitInstance()函数中加入
::CoInitialize(NULL);//表示com库的初始化
参考:http://blog.csdn.net/chinabinlang/article/details/23748699
AfxMassageBox(e.ErrorMessage());
AfxMassageBox(e.Description());
查看错误信息
数据库连接失败:未知指针
在App类的InitInstance()函数中加入
::CoInitialize(NULL);//表示com库的初始化
参考:http://blog.csdn.net/chinabinlang/article/details/23748699