Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi Pete!

I have one problem with FSUIPC. I'm a programmer and now I use Embarcadero RAD Studio 2010 (Delphi 2010). There is error 13 when I try to connect to FSUIPC (via FSUIPC_Open) in Delphi 2010. Also, when I compile Delphi SDK example I have error 13 too. But if I execute example without recompilling in Delphi 2010 all is ok and program connects to FSUIPC and view some data from simulator.

When I try to compile example in older Delphi versions (like Delphi 2007), program works correctly and provide any data from FSUIPC.

Now I can use only Delphi 2010. So, I search for solution for this trouble without any results. Perhaps, this situation connects with Delphi's unicode strings, but I don't know how to fix it.

Sorry for my english.

With best regards, Vasiliy.

Posted

I have one problem with FSUIPC. I'm a programmer and now I use Embarcadero RAD Studio 2010 (Delphi 2010). There is error 13 when I try to connect to FSUIPC (via FSUIPC_Open) in Delphi 2010. Also, when I compile Delphi SDK example I have error 13 too. But if I execute example without recompilling in Delphi 2010 all is ok and program connects to FSUIPC and view some data from simulator.

When I try to compile example in older Delphi versions (like Delphi 2007), program works correctly and provide any data from FSUIPC.

What is "error 13"? Do you mean an error reported back from the FSUIPC_Open call? If so this is "FSUIPC_ERR_DATA", which means it connected but was unable to interpret the data received.

Now I can use only Delphi 2010. So, I search for solution for this trouble without any results. Perhaps, this situation connects with Delphi's unicode strings, but I don't know how to fix it.

I'm afraid I don't know Delphi at all, but I assume you do? If so then simply use the source provided for the interface and debug through to see what is going wrong. All the files related to the interface are included in the SDK. There's nothing hidden. I think the main Delphi source file is "FPCuser.pas". I assume Delphi comes with debugging facilities?

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.