• 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.

Handling DirectPlay messages

Messages
76
Hi all - I have followed the M$ guidance on handling DP messages. Out of about a dozen testers, I have only one that is having problems, and I believe the problem is that buffers are over flowing - probably from that way FS9 is behaving.

First off - is there *any* way to get a stack trace on a fs9 crash?

Second - the behavior is - at least according to a gazillion print statements I put into a log something like this...

I get a 0x1000 from a DPN_MSGID_RECEIVE. I then go to find the player... only thing is that on this one user's machine I'll get several 0x1000s and *then* process them. And not by my design - because as soon as I get the message I go to the find player routine. It's like the thread is being interrupted as it's processing the previous message,and then sometime later it resumes processing it - after it gets several of them. I'm confused - and I'm thinking the system gets confused as well. No other user experiences this.

I am wondering if his machine is too slow (maybe too much other stuff is eating his CPU?), so he's not processing the messages fast enough?. He's got a 3Ghz .
 
After weeks/months of testing we found the problem. Anti-Virus software was interfering. Turns out my tester got an update to his AV software and despite his assurance it was turned off except for mail scanning, suddenly everything works. I can't tell you how many hours this has cost me, so I'm warning all developers out there about this possibility.

Finally I can move forward with the project!
 
Back
Top