On 19.03.2015 15:06, Bernhard Übelacker wrote:
Hello, attached patch avoids an issue when trying to run Flatout 2 with copy protection.
When starting Flatout2.exe for the first time it wants to install some services, but shows in wine some error messages.
The only visible sign in terminal output, that something went wrong, is this: err:rpc:I_RpcReceive we got fault packet with status 0x3e6
And of course later some dialog showing error 998 (=0x3e6) and a unhandled exception.
This is because the SC_RPC_CONFIG_INFOW parameter has in its descr->lpDescription a null pointer instead of a valid LPWSTR.
Right now this null pointer would be accessed in svcctl_ChangeServiceConfig2W and causes an exception there , but is hidden by the RPC layer.
(And of course this makes the SF4 protection still not working.)
Kind regards, Bernhard
Is it actually called with infolevel 1?