SAConnection *cons = new SAConnection();
try{
cons->setClient(SA_MySQL_Client);
cons->Connect("alldb","sdh","123qwer"); }catch(...)
{ }
在cons->Connect("alldb","sdh","123qwer");发生访问冲突,如下:
sss.exe 中的 0x0042534e 处未处理的异常: 0xC0000005: 写入位置 0xb0942706 时发生访问冲突。我在另一台机器上运行就正常。我用的是VS2008。
请高手指点。