InMotion Posted January 5, 2013 Report Share Posted January 5, 2013 Hi, I'm using Pelle's FPCuser.pas file for Delphi 6 to read/write to FSX variables. I can read variables with no problem, however, I can not write to an FSX variable. I purchased a legal copy of FSUIPC 4.070 and I'm assuming there are no limitations because someone told me that I need to have a special developer's license to write to FSX variables. Is that true? It should be pretty straight forward to write to an FSX variable, such as changing the flaps. Again, I can read variables from FSX but I can not write to a variable. Below is a snippet of my Delphi code. Var Flaps : integer; begin Flaps := 16383; FSUIPC_Open(SIM_ANY, dwResult); FSUIPC_Write($0BDC, 4, @Flaps, dwResult); FSUIPC_Process(dwResult); ..... end; Attached is the FPCuser.pas file. Thanks for your help! Mark FPCuser.rar Link to comment Share on other sites More sharing options...
InMotion Posted January 5, 2013 Author Report Share Posted January 5, 2013 Hi, I finally got it to work. I had to modify the FPCuser.pas file due to a few issues I found. If anyone needs help with this let me know. Thanks, Mark Link to comment Share on other sites More sharing options...
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