"Kai Blin" kai.blin@gmail.com wrote:
- usri.usri1_name = (LPWSTR) sTooLongName;
- usri.usri1_password = (LPWSTR) sTestUserOldPass;
Just drop the 'const' modifier for the declared strings, don't use casts. There was a lot of efforts lately put into fixing Wine to compile cleanly with -Wcast-qual turned on, please fix the code while you are at it.