Fred Matias Posted July 23, 2011 Report Posted July 23, 2011 Can anyone please put an c# code example showing how to put an aircraft name (offset 3D00) in a string variable? Thank's Fred.
Paul Henty Posted July 24, 2011 Report Posted July 24, 2011 Can anyone please put an c# code example showing how to put an aircraft name (offset 3D00) in a string variable? If you are using my FSUIPC Client DLL for .NET then you just declare the offset as follows: private Offset<string> aircraftName = new Offset<string>(0x3D00, 256); There is also an example of reading a string (Aircraft title) in the example application provided. If you are using the obsolete C# SDK then strings are one of many FSUIPC offset types that it doesn't support. My DLL can be found in the downloads sub-forum or follow this link: http://forum.simflight.com/topic/40989-fsuipc-client-dll-for-net-version-20/ Paul
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now