Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I'm back, and I've got my code and its all set up, and compiled etc.

I dropped my .dll into the Modules folder, and started up FS9.1. I get a "potentially incompatible software" warning, and choose Yes.

It loads, I start a quick flight, fly around for a few seconds, and land again.

Nothing at all about my module shows up in the Log files, and I have Reads, Writes and Extras logging all turned on.

I configured the module to enter its own key, and then changed it and entered it manually. It still doesn't work.

So I'm posting a plea for help. I can't find anything in any of the docs about this, and since its not printing anything to the log, I have no idea where its stalling. I'd guess its related to the incompatible software message, but I really have no idea.

Help?

Braden

Log file.zip

Posted

I dropped my .dll into the Modules folder, and started up FS9.1. I get a "potentially incompatible software" warning, and choose Yes.

That'll be because you have the wrong version number in your Linkage structure.

Nothing at all about my module shows up in the Log files, and I have Reads, Writes and Extras logging all turned on.

Whatever you've written to connect to FSUIPC (FSUIPC_Open2(...) and linking to the module user's library I hope?) evidently isn't running then, or it is and is wrong. Don't you have any diagnostics built in to help you debug it? Doesn't your compiler come with a debugger?

Sorry, but I cannot tell you how to debug programs. You need to think about how you are going to test it rather than plunge into the deep end. And debugging DLLs deep inside FS isn't easy -- the Microsoft Visual Studio debugger can do it, though.

So I'm posting a plea for help. I can't find anything in any of the docs about this

What docs did you hope to find on writing and debugging FS modules? Microsoft don't really approve of it and certainly won't encourage it.

I'd guess its related to the incompatible software message

No, that's a version number check, that's all.

Regards

Pete

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.