Jump to content
The simFlight Network Forums

A small bug-fix in C# API


Recommended Posts

Hi,

I just wanted to let you know about a small but show-stopping bug in the C# API for FSUIPC. It may already have been fixed because my SDK is pretty old, but maybe you never noticed it because on my machines it only happens under Windows 98.

The problem is in fsuipc.cs line 272 (method FSUIPC_Open) :

szName = szTemp.Substring(0, 23) + ...

Which should be (szTemp gets replaced by szName) :

szName = szName.Substring(0, 23) + ...

BTW I can't figure out what szTemp stands for beceause it is never used elsewhere... Hope this helps...

Best regards,

Link to comment
Share on other sites

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.