Jump to content
The simFlight Network Forums

Recommended Posts

Posted

A Danish guy contacted me regarding an error he got when using the the Delphi-port of the SDK. I had a look at it and and there is a small change that is needed since Delphi 2009. So if you plan to update the SDK at any time, in the file FPCuser.Pas in function "FSUIPC_Open" the "szName" variable need to be changed from "AnsiString" to "String". Hence from:

Function FSUIPC_Open(dwFSReq : DWORD; var dwResult : DWORD) : Boolean;
var
  szName  : AnsiString;

to:

Function FSUIPC_Open(dwFSReq : DWORD; var dwResult : DWORD) : Boolean;
var
  szName  : String;

Please sign in to comment

You will be able to leave a comment after signing in



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.