各位大佬,如何將 QVariant 轉換成 IDispatch* ?
幫助檔案里這么寫的:
IDispatch* ActiveDocument
For more information, see help context 158334984 in C:\Program Files (x86)\Microsoft Office\Office12\VBAWD10.CHM.
Read this property's value using QObject::property:
IDispatch* val = object->property("ActiveDocument").toIDispatch*();
實際測驗卻沒有咋回事?
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/15463.html
標籤:Qt
上一篇:為什么timer里產生亂數有延遲
