Qt在操作Excel的时候出现CoCreateInstance failure (????????????????????)等信息

时间:2017-04-12 22:26:03   收藏:0   阅读:1036

求助!!

我用Qt在操作Excel的时候如:

                        QAxObject excel("Excel.Application");
                        excel.setProperty("Visible",false);

出现以下信息,不知道如何解决,困扰了好久。

CoCreateInstance failure (????????????????????)
QAxBase::setControl: requested control Excel.Application could not be instantiated
QThread: Destroyed while thread is still running

求助!求助!

原文:http://whylinux.blog.51cto.com/10900429/1915124

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!