Simple Windows Diaglogue App
Lewis.McLean at zonal.co.uk
Wed Jun 8 07:31:57 CDT 2011
I'm trying to compile a simple windows dialogue app over to run on *nix
with winelib. I'm looking at it as proof of concept for porting a larger
I've been getting errors from gcc to do with vc++ casting, where it
LinuxPort.cpp: In function 'int WinMain(HINSTANCE__*, HINSTANCE__*,
LinuxPort.cpp:34: error: cast from 'CHAR*' to 'WORD' loses precision
LinuxPort.cpp:39: error: cast from 'CHAR*' to 'WORD' loses precision
winegcc: i486-linux-gnu-g++ failed
Ive tried to use static_cast<> and also c-style casting using () but
can't seem to get it working.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wine-devel