although I've already touched briefly on this subject in another thread, I thought it might be best to start a new one for this, specifically.
Is anyone able to get the above mentioned service? The SDK reads "General surface queries, not associated with a specific object. This service interface is available from the PDK. Inherits IUnknown." I tried to query for it doing it like this:
Code: Select all
CComPtr<ISurfaceQueryManagerV400> surfaceQueryManager;
PdkServices::GetPdk()->QueryInterface(IID_ISurfaceQueryManagerV400, (void**)&surfaceQueryManager);
Would someone of the devs be so kind to shed a light on this, or can someone else try if they are able to get this interface?
Otherwise, I would need to additionally implement SimConnect to query for the surface elevation without a SimObject in place, but I'd rather not want to do this, if it wasn't strictly necessary.
So, any help is highly appreciated.
All the best, Benny