有关运行错误 Run-Time Check Failure #2 - Stack around the variable 'v' was corrupted.的问题
我将一个程序从vc 6.0 移植到vc.net 2003种运行,报出Run-Time Check Failure #2 - Stack around the variable 'v' was corrupted.
其中v的定义 _variant_t v(0L);
使用 mr=m_Connection->Execute(_bstr_t(szQuery),&v,adCmdText);
初步估计可能是数据结构对齐的问题可是不知道怎么改,那位可以帮忙解决以下???