Linking and compilation errors
Hi guys, I am trying to compile a the GUI for my program with only empty functions. I compiled the resource script with Digital Mars rcc, and the main cpp file with MinGW g++. I was able to compile both without any error, but then the linker complained that it cannot link to InitCommonControls@@. I then tried to compile with Digital Mars dmc. I guess I must somehow be doing it wrong, since it kept complaining that DialogBox() need explicit cast to pass 4 parameters...Can anyone please help me?