|
From: Louis G. <lg...@ya...> - 2002-10-21 22:32:54
|
Thank you Santiago, this information convinces me to learn wxWINDOWS rather than than the WIN32 API. The biggest problem programmers have in my opinion is what new products they should spend their time learning ? Things that reduce program development time are priority #1 in my book. --- Santiago Palmier Campos <San...@yd...> wrote: > Hi Luis, > > From my personal experience (I've been programming with MFC from some > time > ago [4-5 years]), what I can tell you is that programming wxWindows IS > much > EASIER than programming M$ MFC and/or win32 API. > > I've been using wxWindows for 6 months now, but I really think that it > makes > sense to use this library. > > wxWindows classes are well structured, you are able to modify / extend > them > and you can contribute to improve the library by submitting your code to > wxWindows development team. You are NOT forced to use doc/view apps even > when there's no need for that programming structure, etc... > > Please have also in mind that: > > - wxWindows source is portable between M$ Windows and some UNIX > flavours (Solaris, Linux,...) > MFC / win32 API is NOT portable in any way. > > - wxWindows source can be compiled with MinGW / M$ VC++ / Borland / > etc... > MFC can ONLY be compiled with M$ VC++ > > - some MFC code does NOT follow C/C++ 'good programming techniques' > nor 'real' templates, etc... > (take a look at MFC code, you'll find some goto's and much > more ;o) > wxWindows IS pure C++ without 'shortcuts' ;oD > > - It is likely to happen that MFC became obsolete since .NET have born > wxWindows will be 'alive' whenever people use it: we've got the > sources! > > Just my 2 cents! > > ~Santy > PS: I do not consider myself a 'guru', that's another reason why I like > such > a library like wxWindows: it makes my life easier!!! > > -----Original Message----- > From: Louis Godio [mailto:lg...@ya...] > Sent: sábado, 19 de octubre de 2002 0:14 > To: Santiago Palmier Campos; dev-cpp-users-list > Subject: RE: [Dev-C++] WxWINDOW > > > Based on the Santiago's note, it seems like wxWindows is a lot of effort > to > set up correctly. Could someone experienced with wxWindows tell us if it > is > worth all this effort ? > > > > --- Santiago Palmier Campos <San...@yd...> wrote: > > Hi *, > > > > If you don't use Dev-C++ package and you want to use wxWindows sources > > > 'by yourself', there are only a few things you must do in order to use > > wxWindows... > > > > Download wxWindows sources (from http://wxwindows.sourceforge.net/), > > download also 'extra.zip' file (from http://wxwindows.sourceforge.net/ > > > also, but only if you don't use MSYS from > > http://mingw.sourceforge.net/) and then, > > FIRST OF ALL, please read the file: %WXWIN%/docs/msw/install.txt > > > > You'll find everything you'll need in order to install it!!! > > > > Anyway here you have a 'Quick How To'... > > > > Set a few environment variables: > > WXWIN to the path where you decompressed wxWindows sources, > > if needed, BISON_SIMPLE & BISON_HAIRY to the complete path to files > > (complete/path/to/folder/plus/filename.extension) > > > > Edit %WXWIN%\src\makeg95.env, search through the options and set them > > to the appropriate values to fit your system needs; I just changed the > > following > > ones (keep in mind that these are MY values for WinAPI & MinGW > > installation > > ;o): > > MINGW32=1 > > MINGW32VERSION=3.2 > > YACC=bison > > CPU=pentium4 > > COMPPATHS = -I"D:/WinAPI/include" -I"D:/MinGW/include" > > Perhaps you may want to include these two also: > > -I"D:/MinGW/include/sys" -I"D:/MinGW/include/c++/3.2" > > > > ...And add the appropriate dirs to this one (keeping the original > > stuff, of > > course): > > LDFLAGS = (...original stuff...) -L"D:/MinGW/lib" -L"D:/WinAPI/lib" > > > > Then cd to %WXWIN%\src\msw and use make -f makefile.g95 clean / make > > -f makefile.g95 and wait... That's all!!! You'll have wxWindows ready > > to use (there are a few more options to use the > > wxWindows DLL, so read the docs, please...) > > > > You'll only need to use a makefile like the following one, you only > > have to modify 'OBJECTS' to fit your needs: > > # Makefile for wxWindows (Mingw32). > > # WXDIR = D:/wxWindows/v2.3.3 > > > > TARGET=MyApp > > OBJECTS = $(TARGET).o MyFrame.o MyOtherStuff.o > > > > include $(WXDIR)/src/makeprog.g95 > > > > Hope this helps > > Santy > > > > -----Original Message----- > > From: Carlos García del Monte [mailto:cg...@wo...] > > Sent: jueves, 17 de octubre de 2002 22:24 > > To: ma...@al...; dev-cpp-users-list > > Subject: Re: [Dev-C++] WxWINDOW > > > > > > Oh, sorry, I thought you got the package from dev home page, which is > > a devpak. > > > > What I did was this: (having gcc[C:\Dev-Cpp\Bin] in the path) > > 1- I unpacked it to C:\wxMSW > > 2 - open command.exe > > 3 - cd to C:\wxMSW\src > > 4 - type make -f makefile.g95 and wait, then I ran over some of the > > other folders seeing that in all of them the result was "make nothing > > to be done > > for all", so I gave it as built. Well, there were a couple of > utilities > > about dialog editor or something like that, I cd to there and make > etc. > > > > The bad news are that I never could make it work, except for the > > examples that were with it, which compiled fine, I tried some examples > > > for > > Dev-C++ > > and I couldn't compile any one. > > > > The first you must do when making a project is define __GNUWIN32__ and > > > define UNICODE, and define __WXMSW__ > > > > And a lot of compiler options, linker parameters... search in the dev > > mailing list, I don't remember when they answered me with all those > > options you must provide, more or less six or seven months ago or > > before. > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to $1,000 > > for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > ---------------------------------------------------------------------------- > ---------- > > This message and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. No confidentiality > > or privilege is waived or lost by any wrong transmission. > > If you have received this message in error, please immediately destroy > > it and kindly > > notify the sender by reply email. > > You must not, directly or indirectly, use, disclose, distribute, > print, > > or copy any > > part of this message if you are not the intended recipient. Opinions, > > conclusions and > > other information in this message that do not relate to the official > > business of > > Ydilo Advanced Voice Solutions, S.A. shall be understood as neither > > given nor endorsed by it. > > > ---------------------------------------------------------------------------- > ---------- > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dev-cpp-users mailing list Dev...@li... > === message truncated === __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ |