为什么querySubObject返回空指针
You check if workbooks is NULL pointer. As a rule of thumb, you may want to check if excel is null pointer before using it.
QAxObject* excel = new QAxObject( “Excel.Application”, 0 );
if ( excel )
{
QAxObject* workbooks = excel->querySubObject( “Workboo
翻译
2022-07-15 21:09:51 ·
1224 阅读 ·
0 评论