Search found 93 matches

by adiemus
Wed Jun 19, 2019 4:38 pm
Forum: Software Development Kit (SDK) Questions
Topic: Targeting Pod Camera Pitch adjustment
Replies: 2
Views: 704

Re: Targeting Pod Camera Pitch adjustment

You're going to need to provide far more detail on what you've actually tried, likely with example code and explicit test results explaining how those results differ from what you'd expect.[1] Otherwise it just seems like you're trying to get someone else to not just build it for you, but also expla...
by adiemus
Fri May 25, 2018 3:20 pm
Forum: Software Development Kit (SDK) Questions
Topic: [RESOLVED] How to read the frame rate using simconnect?
Replies: 2
Views: 1426

Re: How to read the frame rate using simconnect?

Works fine here in P3D v4, going all the way back to FSX. That structure is returned by the "Frame" event you can subscribe to via SimConnect_SubscribeToSystemEvent(). This will call your SimConnect callback with RECV_ID set to SIMCONNECT_RECV_ID_EVENT_FRAME, which in turn carries a populated SIMCON...
by adiemus
Tue Jan 23, 2018 4:59 am
Forum: Software Development Kit (SDK) Questions
Topic: Programmatically controlling ShowWeather state for a camera?
Replies: 0
Views: 1460

Programmatically controlling ShowWeather state for a camera?

Is there a way to programmatically control the state of the "ShowWeather" boolean for a camera? I can't find anything via the PDK or SimConnect. (I'm looking to simulate an imaging pod with multiple sensors, some of which can see through atmospheric moisture and some which can't) In theory, I could ...
by adiemus
Thu Jan 11, 2018 6:16 am
Forum: Software Development Kit (SDK) Questions
Topic: [RESOLVED] PDK v4.1 header issue (IWindowV410, ICameraSystemV410, etc)
Replies: 3
Views: 1655

Re: PDK v4.1 header issue (IWindowV410, ICameraSystemV410, etc)

Having read more about COM versioning, I think now that the headers are fine, it was me that was mistaken. For anyone confused as I was how you'd use IBaseObjectV410, for example, when ISimObjectManagerV410::GetUserObject() takes a **IBaseObjectV400 argument, you have to get the IBaseObjectV400 firs...
by adiemus
Wed Jan 10, 2018 11:23 pm
Forum: Software Development Kit (SDK) Questions
Topic: [RESOLVED] PDK v4.1 header issue (IWindowV410, ICameraSystemV410, etc)
Replies: 3
Views: 1655

[RESOLVED] PDK v4.1 header issue (IWindowV410, ICameraSystemV410, etc)

The v4.1 PDK added some new functionality I wanted to try, so I switched our existing code to use the new headers. This worked fine (while my code was still referencing the V400 stuff) but as soon as I started trying to use IWindowV410 or ICameraSystemV410 it all refused to compile, seemingly becaus...
by adiemus
Wed Jan 10, 2018 9:12 pm
Forum: Miscellaneous
Topic: conflict fsx@war vrs, LM
Replies: 5
Views: 1639

Re: conflict fsx@war vrs, LM

Actually, in fairness, we (VRS) are trying to help FSX@War with P3D v4 support but the FSX@War project is running at reduced strength right now which slows the process down and imposes some limits on what can be done.

In any case, not sure why people are bringing it up on LM's forums.
by adiemus
Tue Jan 09, 2018 12:19 am
Forum: SimConnect Interface Questions
Topic: SimConnect ClientData Behavior Bug on P3D v4.1 (and back to v2.5)
Replies: 2
Views: 5845

Re: SimConnect ClientData Behavior Bug on P3D v4.1 (and back to v2.5)

And actually, it's worse than I realized. Moving the call to SimConnect_RequestDataOnSimObject() before SimConnect_RequestClientData() does fix the SIMCONNECT_RECV_ID_CLIENT_DATA callbacks, but breaks the SIMCONNECT_RECV_ID_SIMOBJECT_DATA callbacks expected from RequestDataOnSimObject(). So either y...
by adiemus
Mon Jan 08, 2018 11:39 pm
Forum: SimConnect Interface Questions
Topic: SimConnect ClientData Behavior Bug on P3D v4.1 (and back to v2.5)
Replies: 2
Views: 5845

SimConnect ClientData Behavior Bug on P3D v4.1 (and back to v2.5)

Seems I keep running into SimConnect bugs of late. See: http://www.prepar3d.com/forum/viewtopic.php?f=6311&t=127917 This time, the issue is with ClientData. Long story short, on P3D v4.1 (and v3.4hf3, and v2.5) if you call SimConnect_RequestDataOnSimObject() after SimConnect_RequestClientData(), you...
by adiemus
Wed Jan 03, 2018 8:18 pm
Forum: Software Development Kit (SDK) Questions
Topic: Invoking P3D v4.1 with an invalid command-line argument breaks SimConnect
Replies: 1
Views: 1495

Re: Invoking P3D v4.1 with an invalid command-line argument breaks SimConnect

Given the timing of my initial report, perhaps this got missed due to the holidays, but it seems critical enough to warrant bumping it.
by adiemus
Mon Dec 18, 2017 7:16 pm
Forum: Software Development Kit (SDK) Questions
Topic: Invoking P3D v4.1 with an invalid command-line argument breaks SimConnect
Replies: 1
Views: 1495

Invoking P3D v4.1 with an invalid command-line argument breaks SimConnect

This seems to be related to the issue I posted here: http://www.prepar3d.com/forum/viewtopic.php?f=6311&t=127900 If I invoke P3D v4.1 with a bad command-line argument, ala: c:\path\to\Prepar3D v4>Prepar3D.exe -badarg then SimConnect behaves differently than if no bad command-line argument was passed...
by adiemus
Sun Dec 17, 2017 3:22 am
Forum: Software Development Kit (SDK) Questions
Topic: SimConnect_RequestJoystickDeviceInfo() causes issues with P3D v4.1 command-line processing (yes, really)
Replies: 0
Views: 1280

SimConnect_RequestJoystickDeviceInfo() causes issues with P3D v4.1 command-line processing (yes, really)

This will be a weird bug to describe, but know that it was FAR weirder to track down. :-) If we invoke Prepar3D v4.1 thusly: C:\path\to\Prepar3D v4>Prepar3D.exe -badarg we'd expect it to load, then display a dialog that says: The requested scenario, from command line arguments, is either corrupt or ...
by adiemus
Thu Dec 14, 2017 6:07 pm
Forum: Software Development Kit (SDK) Questions
Topic: P3D v4 SimConnect Facilities Behavior Change?
Replies: 2
Views: 1446

Re: P3D v4 SimConnect Facilities Behavior Change?

Thanks for the quick response. Will wait for the next update.
by adiemus
Thu Dec 14, 2017 5:55 am
Forum: Software Development Kit (SDK) Questions
Topic: P3D v4 SimConnect Facilities Behavior Change?
Replies: 2
Views: 1446

P3D v4 SimConnect Facilities Behavior Change?

As I continue porting our native C++ module to v4, I've run into a significant behavior change in P3D v4.1 (don't have 4.0 to test with, so not sure if it was present there) versus v3 with regard to the SimConnect Facilities Cache. I'm accessing it via SimConnect_SubscribeToFacilities, but the behav...

Go to advanced search