|
From: Steven E. <Ste...@kn...> - 2001-10-05 23:53:17
|
Hey Eric, I changed the lines in the Makefile of the programs but the programs still spawn a console window on load. These were all winelib programs so do I need to change something else in the code? -----Original Message----- From: Eric Kohl To: ros...@re... Sent: 10/3/01 6:35 PM Subject: [ros-kernel] Re: Here you go Zeno, simple gui tests needs comdlg32.dll Steven Edwards <Ste...@kn...> wrote: > > I'm still learning C so most of these have had very little changes. > I've attached a program manager clone. (thanks to Eric Kohl for fixing the > resource isssues)Icons dont work, plus I havent figured out how to get rid > of the damn console window when running any of the apps I've ported from > wine. Oooops, I guess this is my fault. I started progman from the command line only, so I didn't realize that it is still a console app. To make progman a gui app, you have to add '-Wl,--subsystem,windows' to the linker run. The fixed makfile rule to build progman is: progman.exe: $(OBJECTS) $(CC) $(CFLAGS) -Wl,--subsystem,windows $(OBJECTS) $(LIBS) -o progman.exe $(NM) --numeric-sort progman.exe > progman.sym > Zeno you want to help me with porting the comcrtl and commdlg libs from > wine? We need these before we can have a working shell. If you port the Wine comctl32 to ReactOS you have to be aware of the fact that some controls - mainly listview, treeview, rebar and toolbar - are still under construction and major rewrites will happen in the future. Treeview and listview don't handle unicode messages yet and adding unicode support results in a major rewrite of these controls. If you fix any bugs in the common controls, please make sure you submit patches to the Wine project too. - Eric Kohl ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== |