My current development environment: - WinXP SP2 english - Eclipse Europa + CDT using - gnu-toolchain implemented via cygwin - Widestudio Native Application Builder plugin for eclipse
All of these are working fine together, so I can "click together" my windows, and add code via event procedures.
Now from what I understand, GUI applications that integrate with the operating system are somewhat different as to their main()-function: Not sure if it exists at all, but at least the eclipse/NAB environment doesn't let me peek at it, if it's there.
I used to go about including a selfmade c++ library (lib.c & lib.h) by compiling it to a binary, and then linking it. But that was under Linux, with my own makefiles - and I have forgotten a lot.
Let's say I have some general functions that I want to call from several of my GUI classes (e.g. from the mainwindow event procedures) - so I create a new general.cpp file, declare the function headers in general.h, include the general.h file whereever I need it and ... well - and what? How would I go about telling the compiler to precompile the functions in general.cpp that require(!) the GUI libraries, and then link that general(.o?)-library into the application executable?
My main problem is that I am using the CDT Makefile Builder, so if anyone is familiar with eclipse, if you know any options that will allow this one to continue working, that would be awesome.
Otherwise - for a start - the command line approach for g++ would help me understand / remember.
Thanks a lot! Lars _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus