Search found 14 matches

by zillmer
Fri May 15, 2020 11:25 am
Forum: Software Development Kit (SDK) Questions
Topic: SIMCONNECT_MENU_1, SIM_CONNECT_MENU_2 events
Replies: 8
Views: 27374

Re: SIMCONNECT_MENU_1, SIM_CONNECT_MENU_2 events

Rob, Here is a link to a VS Solution with some sample apps to demonstrate the issue. There is a word doc included that gives some instructions and some pointers to the relevant code snippets. https://thebeeches-my.sharepoint.com/:u:/g/personal/simon_theknellers_net/EUSHW16G24RIn6cn299Rd-ABC2LwBvKvtV...
by zillmer
Sun May 10, 2020 5:11 pm
Forum: Prepar3D Client Application Questions
Topic: P3Dv5 - continuous GTX1080Ti Driver Hang errors - making Sim unusable
Replies: 4
Views: 7412

Re: P3Dv5 - continuous GTX1080Ti Driver Hang errors - making Sim unusable

The PC's are custom built by a professional company.

The setup is for a home cockpit, but at the moment I am not using it in that way. I have one monitor on each PC.
by zillmer
Sun May 10, 2020 3:44 pm
Forum: Prepar3D Client Application Questions
Topic: P3Dv5 - continuous GTX1080Ti Driver Hang errors - making Sim unusable
Replies: 4
Views: 7412

P3Dv5 - continuous GTX1080Ti Driver Hang errors - making Sim unusable

Hi, I have a setup that has 3 identical PC's each running identically configured instances of P3Dv5 with Hotfix 1. The hardware in the PC's is identical (8700K processor, 16Gb Ram, GTX1080Ti). All drivers are up to date. In experimenting with v5 I am running each PC with identical settings, both in ...
by zillmer
Tue May 05, 2020 7:01 pm
Forum: Software Development Kit (SDK) Questions
Topic: SIMCONNECT_MENU_1, SIM_CONNECT_MENU_2 events
Replies: 8
Views: 27374

Re: SIMCONNECT_MENU_1, SIM_CONNECT_MENU_2 events

Rob, Not sure what of kind of link you are looking for, but I'll describe the situation. I have an application, written in C# so using managed simconnect. In the application I use the following code once I've connected to P3D. _simconnect.SubscribeToSystemEvent(Events.TEXTWINDOW, "TextEventCrea...
by zillmer
Sun May 03, 2020 8:44 am
Forum: Software Development Kit (SDK) Questions
Topic: SIMCONNECT_MENU_1, SIM_CONNECT_MENU_2 events
Replies: 8
Views: 27374

Re: SIMCONNECT_MENU_1, SIM_CONNECT_MENU_2 events

Hi,

Just a bump to note that this has not changed in HF1.

Regards

Simon.
by zillmer
Wed Apr 22, 2020 5:48 pm
Forum: Software Development Kit (SDK) Questions
Topic: v5 SDK TextMenu events not working
Replies: 6
Views: 19706

Re: v5 SDK TextMenu events not working

I've posted on a related issue. Looks like the entire Text Menu and related functionality in SimConnect (which is used by FSUIPC) is broken in V5. It's still listed in the SDK so I presume this is an error/bug, rather than by design.
by zillmer
Fri Apr 17, 2020 2:36 pm
Forum: Prepar3D Client Application Questions
Topic: P3DV5 - Options Menu becomes unusable
Replies: 3
Views: 6164

P3DV5 - Options Menu becomes unusable

Hi, Using P3DV5, after running for a certain period of time, I find that changing any options through the Options - General menu option becomes impossible. After making a change (any change, on any of the submenus) and hitting OK I get a "Please Correct Errors or Press Cancel" dialog box. ...
by zillmer
Thu Apr 16, 2020 12:25 pm
Forum: Software Development Kit (SDK) Questions
Topic: SIMCONNECT_MENU_1, SIM_CONNECT_MENU_2 events
Replies: 8
Views: 27374

SIMCONNECT_MENU_1, SIM_CONNECT_MENU_2 events

Hi, I have an app that amongst other things triggers programmatically the selection of items in SimConnect generated text menus by mapping the SIMCONNECT_MENU_1, SIMCONNECT_MENU_2 and so on events to a client event in my code and then using SimConnect.TransmitClientEvent to transmit the event. This ...
by zillmer
Sat Dec 14, 2019 10:24 pm
Forum: Software Development Kit (SDK) Questions
Topic: Create an "Aircraft" using PDK
Replies: 0
Views: 15253

Create an "Aircraft" using PDK

So I'm trying to figure out how, or if, it is possible to create an object directly using the PDK that is then recognised and controllable as an AI aircraft. I have existing code which uses the SimConnect_AICreateNonATCAircraft call to create an aircraft. Once the aircraft is created, I can obtain a...
by zillmer
Wed May 22, 2019 8:20 am
Forum: Software Development Kit (SDK) Questions
Topic: Best Practice for Config files
Replies: 1
Views: 9144

Best Practice for Config files

Hi, I am developing a PDK application that needs to have some user-configurable parameters. The application will be installed using the add-on.xml method as described in the SDK. I am intending to use a text file (either in .ini or xml format) to store and retrieve some user configurable parameters ...
by zillmer
Mon Apr 29, 2019 9:10 pm
Forum: SimConnect Interface Questions
Topic: Memory leak in Managed SimConnect SetDataOnSimObject?
Replies: 10
Views: 26541

Re: Memory leak in Managed SimConnect SetDataOnSimObject?

Oliver,

I get the same rate as you are seeing with the code I pasted, but if I add additional data to the structure it seems to scale proportionately, so the more data is included in the SetData request the more memory builds up.

Simon.
by zillmer
Mon Apr 29, 2019 5:29 pm
Forum: SimConnect Interface Questions
Topic: Memory leak in Managed SimConnect SetDataOnSimObject?
Replies: 10
Views: 26541

Re: Memory leak in Managed SimConnect SetDataOnSimObject?

Thanks Elliptic, but this is C# code. You don't need to delete objects in the same way as is done in C++. The code you posted isn't recognised by C# in any event. I've done some performance profiling using Visual Studio and all I can see from that is that the additional memory that is being used is ...
by zillmer
Mon Apr 29, 2019 5:08 pm
Forum: SimConnect Interface Questions
Topic: Memory leak in Managed SimConnect SetDataOnSimObject?
Replies: 10
Views: 26541

Re: Memory leak in Managed SimConnect SetDataOnSimObject?

Oliver, Thanks. A rapid explosion in memory use is exactly what I experience in my app. I have created a very simple windows forms app for testing from scratch. I've pasted the code below. Running this code I get a continuous steady increase in memory usage by the app. This is about as simple as it ...
by zillmer
Mon Apr 29, 2019 3:48 pm
Forum: SimConnect Interface Questions
Topic: Memory leak in Managed SimConnect SetDataOnSimObject?
Replies: 10
Views: 26541

Memory leak in Managed SimConnect SetDataOnSimObject?

Hi, I'm trying to get to the bottom of a problem I am having using the managed SimConnect library. I am using this to create new SimObjects in Prepar3d and then send position updates to them using the SetDataOnSimObject function. My code functions perfectly in that the objects I want are created, th...