Re: Simple Windows Diaglogue App

2011-06-08 Thread Stefan Dösinger
On Wednesday 08 June 2011 14:31:57 Lewis McLean wrote: > LinuxPort.cpp:34: error: cast from 'CHAR*' to 'WORD' loses precision Is this a Win16 app? I don't see how casting a pointer to a WORD is supposed to work otherwise. signature.asc Description: This is a digitally signed message part.

re: Simple Windows Diaglogue App

2011-06-08 Thread Dan Kegel
Lewis wrote: > 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 > application over. First off, why winelib rather than plain wine? Are you planning on targeting non-x86 computers? > LinuxPort.cpp:34:

Simple Windows Diaglogue App

2011-06-08 Thread Lewis McLean
Hi, 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 application over. I've been getting errors from gcc to do with vc++ casting, where it loses precision. LinuxPort.cpp: In function 'int Win