Just a quick solution for you, who using - or trying to use - Delphi 2010 or newer for developing some clever tools for FSUIPC.
After compiling your program, and trying to connect to fsuipc, it doesn't connect. The error message is "IPC request contains bad data". It almost drove me crazy, I did not find any solution on the internet, so I had to figure it out by myself. I'm not expert in Delphi, just a hobbyist, so please forgive it if I made a horrible programming error.
- In the FPCUser.pas, find the following lines:
Function FSUIPC_Open(dwFSReq : DWORD; var dwResult : DWORD) : Boolean;
var
szName : AnsiString;
- Change the AnsiString to String:
Function FSUIPC_Open(dwFSReq : DWORD; var dwResult : DWORD) : Boolean;
var
szName : String;
That's all. Now you can connect, everything will work, except one thing: you will not able to parse the version number of FSUIPC.
Sorry for my bad english.
Happy programming!