Search found 5 matches

by reyad__007
Wed Aug 28, 2019 9:59 am
Forum: Software Development Kit (SDK) Questions
Topic: I cant get the IDISManagerV450.
Replies: 6
Views: 22214

I cant get the IDISManagerV450.

I cant get the IDISManagerV450.ex: CComPtr<IBaseObjectV400> spUserObject; CComPtr<IDISManagerV450> spDISManager; HRESULT hr; hr = PdkServices::GetSimObjectManager()->GetUserObject(&spUserObject); if (hr == S_OK) { hr = spUserObject->QueryService(SID_DISManager,IID_IDISManagerV450, (void**)& ...
by reyad__007
Thu Jun 06, 2019 2:10 am
Forum: Software Development Kit (SDK) Questions
Topic: How can I switch between the AI aircraft and the User aircraft,using SimConnect or PDK?
Replies: 0
Views: 8249

How can I switch between the AI aircraft and the User aircraft,using SimConnect or PDK?

Hello,

I want to switch between the AI aircraft and the User aircraft, using the SimConnect or PDK. The switching between AI and User is just like the function implemented by the Traffic Toolbox, which is add-ons provided by the SDK.

regards,
Reyad
by reyad__007
Sun Nov 04, 2018 2:40 pm
Forum: Software Development Kit (SDK) Questions
Topic: How can I add an Icon, which likes the Icon in the SimDirector, to the SimObject in the Prepar3D?
Replies: 3
Views: 13748

Re: How can I add an Icon, which likes the Icon in the SimDirector, to the SimObject in the Prepar3D?

Thank you for your reply,Brady. The default Icons have displayed in the Prepar3D. Now,I want to change the texture of the Icons. I used Photoshop creating a new BMP file which is the same to the default texture. The default textures are 512x512 pixels and 32 bit depth. I can find the new Icons in th...
by reyad__007
Sat Nov 03, 2018 3:13 pm
Forum: Software Development Kit (SDK) Questions
Topic: How can I add an Icon, which likes the Icon in the SimDirector, to the SimObject in the Prepar3D?
Replies: 3
Views: 13748

How can I add an Icon, which likes the Icon in the SimDirector, to the SimObject in the Prepar3D?

Hello, I want to add Icons to the SimObjects, such as User Aircraft, AI Aircraft and so on, in the Prepar3D. It seems like the Icons in the SimDirector. The PDK provided the Icon Service. I tested the CustomIcon project in the PDK samples. I finded the Icons in the map, but did not find in the Prepa...
by reyad__007
Mon Oct 22, 2018 3:20 am
Forum: Simulation Object Development Questions
Topic: Can the Default aircraft to be controled by data which is transferring from outside?
Replies: 1
Views: 12291

Can the Default aircraft to be controled by data which is transferring from outside?

Hello, I want to control the default aircraft in the Prepar3D. I have controled the new SimObject by rewriting the funtion UpDate().(eg. the addons Tracker in the PDK Samples) STDMETHODIMP Simulation::Update(double dDeltaT) { // Update surface and weather info m_spBaseObject->GetSurfaceInformation(m...