• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

help me,I have something trouble

Messages
15
Country
china
I didn't got data

hello everyone:

I wrote a small program with MFC and simconnect.I gotten them all to compile/link , no problem. The .exe file runs but several don't do their intended function. e.g. the request data sample, doesn't do anything. I get nothing in FSX and nothing shows up on the console window. I do the the returned value of Simulation Variables as soon as the program runs, but that it isn't.

So I guess there was no response to my define event.
this picture was cut out runing request data.exe in the sample of sdk
samplerequestdata.jpg

there were something wrong with it

I didn't got the data:mad:

what can I do somthing for it ? I need U help

thanks;)
 
Last edited:
Odd that you are not getting any exceptions from SimConnect?

Could be a dll mismatch if you can get the version but do nothing else. What is odd is that any errors should show up on the console end of the server.

Do any of the examples in the SDK work?

Etienne
 
Odd that you are not getting any exceptions from SimConnect?

Could be a dll mismatch if you can get the version but do nothing else. What is odd is that any errors should show up on the console end of the server.

Do any of the examples in the SDK work?

Etienne

HI,Etienne!
Thanks for help.NOthing was shown up.I can't get the datas of altitude,longitude,latitude,etc.And which version should I get,where and how?
Would you give me same advise how to check my error or somthing?
Thanks again.
 
A couple of further questions based on the above:

To clarify:

1) are you able to run the pre-compiled samples in the SDK using your current configuration of simconnect? (this will test proper connectivity). I would suggest you run the AI traffic sample and see if that works.

2) are you able to see the console in verbose mode? That looks like a DOS window that will display whenever FSX runs. The instructions to enable this are in the SDK docs near the top, search for the word "verbose".

The console output at this point may be helpful to see what simconnect is thinking.

Etienne
 
problemq.jpg

It was all the same,after I set SimConnect.ini .I guess the "mismatch" is the point.what can I do next?
 
Last edited:
hi Etienne:
Thank you very much for giving me the tip
Problem has been solved.

I found FSX that not patch SP1,SP2 files to install

I had uninstalled the version v10.0.61259.0 of simconnect.

So I complie and link my program with the .h and .lib file in FSX-RTM folder.
;)
 
Back
Top