You'll need to use the Wine IDL Compiler (widl) to compile the resources into a separate object file (.o file). You will then need to include this file in the linking stage (since you're using winegcc to both compile and link, you'd do something like winegcc -m32 -o test2 test2.cpp resources.o).


On Tue, Oct 11, 2016 at 3:32 AM, A B <dianaxxyyzz@gmail.com> wrote:
I'm trying to compile the default sample win32 ,Hello World project . I did winegcc -m32 -o test2 test2.cpp . It runs ok , but resources are not loaded ,there is empty windows title and missing File and Help menus.
What is the correct way to make also load the resources?