m_pApi = new QAxObject("{137226BC-29B4-4158-ABF0-5E78D77933BB}", this);
编译的时候没有任何问题,但是一运行,就提示:
CoCreateInstance failure (CoInitialize has not been called.)
QAxBase::setControl: requested control
{137226BC-29B4-4158-ABF0-5E78D77933BB} could not be instantiated
我的编译环境为windows 2003 sp2,Qt Creator 1.3.1(MingWM10),不知道是那出了问题,大家请帮帮忙,谢谢!
[ 此帖被zsyf在2010-05-13 16:30重新编辑 ]