I am not a very experienced c++ programmer.
I am using the MinGWTDM g++ compiler to create a 64bit unicode gui application.
Everything compiles and runs fine if I comment out this line
Code:
wcx.hIcon= LoadIcon( hInst, MAKEINTRESOURCE( IDI_APPLICATION));
with that line I get
Code:
error: cast from 'LPWSTR {aka wchar_t*}' to 'WORD {aka short unsigned int}' loses precision [-fpermissive]
I would rather not use -fpermissive
The app compiles fine using cl from the Win7.1SDK.
Thanks for any tips.
James