I am trying to develop a plugin which utilizes DIS, but I can't event get a valid handle it seems. In the docs it says IDISManager is provided by IPdk, and I try to query it like below but QueryService call fails.
Code: Select all
STDMETHODIMP_(void) DLLStart(__in __notnull IPdk* pPdk)
{
...
if (FAILED(pPdk->QueryService(SID_DISManager, IID_IDISManagerV520, (void**)&dis)))
{
}
...
}
Prepar3D version: 5.1.12.26829 / Professional Plus Licensed
SDK version: 5.3.12.28072