Hello,

First of all: The examples of ActiveQt do all do their work

Now to my problem: I'm trying to access a remote application, which results in a hangup ... maybe someone can tell me why
The querySubObject() causes the problem ... If disableMetaObject() is set, it does not hang up .. while calling this function inventor takes up 100% cpu

Qt Code:
  1. CLSID clsid;
  2. ::CLSIDFromProgID(L"Inventor.Application", &clsid);
  3.  
  4. IUnknown* unk = NULL;
  5. if ( SUCCEEDED(::GetActiveObject(clsid, NULL, &unk)) )
  6. {
  7. QAxObject inventor(unk);
  8. QAxObject* pDocuments = inventor.querySubObject("Documents"); // hangs up
  9. if ( pDocuments )
  10. {
  11. //...
  12. }
  13.  
  14. unk->Release();
  15. }
To copy to clipboard, switch view to plain text mode