|
From: Santiago P. C. <San...@yd...> - 2002-10-21 11:54:16
|
Hi Luis, From my personal experience (I've been programming with MFC from some tim= e ago [4-5 years]), what I can tell you is that programming wxWindows IS mu= ch EASIER than programming M$ MFC and/or win32 API.=20 I've been using wxWindows for 6 months now, but I really think that it ma= kes sense to use this library. wxWindows classes are well structured, you are able to modify / extend th= em 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,...) =09MFC / win32 API is NOT portable in any way. - wxWindows source can be compiled with MinGW / M$ VC++ / Borland / etc... =09MFC can ONLY be compiled with M$ VC++ - some MFC code does NOT follow C/C++ 'good programming techniques' nor 'real' templates, etc... =09 (take a look at MFC code, you'll find some goto's and much more ;o)=20 =09wxWindows IS pure C++ without 'shortcuts' ;oD - It is likely to happen that MFC became obsolete since .NET have born =09wxWindows 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 s= uch a library like wxWindows: it makes my life easier!!! -----Original Message----- From: Louis Godio [mailto:lg...@ya...]=20 Sent: s=E1bado, 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 *, >=20 > 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... >=20 > 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=20 > http://mingw.sourceforge.net/) and then, > FIRST OF ALL, please read the file: %WXWIN%/docs/msw/install.txt=20 >=20 > You'll find everything you'll need in order to install it!!! >=20 > Anyway here you have a 'Quick How To'... >=20 > 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) >=20 > Edit %WXWIN%\src\makeg95.env, search through the options and set them=20 > 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=3D1 > MINGW32VERSION=3D3.2 > YACC=3Dbison > CPU=3Dpentium4 > COMPPATHS =3D -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" >=20 > ...And add the appropriate dirs to this one (keeping the original=20 > stuff, of > course): > LDFLAGS =3D (...original stuff...) -L"D:/MinGW/lib" -L"D:/WinAPI/lib"= >=20 > Then cd to %WXWIN%\src\msw and use make -f makefile.g95 clean / make=20 > -f makefile.g95 and wait... That's all!!! You'll have wxWindows ready=20 > to use (there are a few more options to use the > wxWindows DLL, so read the docs, please...) >=20 > You'll only need to use a makefile like the following one, you only=20 > have to modify 'OBJECTS' to fit your needs: > # Makefile for wxWindows (Mingw32). > # WXDIR =3D D:/wxWindows/v2.3.3 >=20 > TARGET=3DMyApp > OBJECTS =3D $(TARGET).o MyFrame.o MyOtherStuff.o >=20 > include $(WXDIR)/src/makeprog.g95 >=20 > Hope this helps > Santy >=20 > -----Original Message----- > From: Carlos Garc=EDa 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 >=20 >=20 > Oh, sorry, I thought you got the package from dev home page, which is=20 > a devpak. >=20 > 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=20 > other folders seeing that in all of them the result was "make nothing=20 > 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.= >=20 > The bad news are that I never could make it work, except for the=20 > examples that were with it, which compiled fine, I tried some examples = > for > Dev-C++ > and I couldn't compile any one. >=20 > The first you must do when making a project is define __GNUWIN32__ and = > define UNICODE, and define __WXMSW__ >=20 > And a lot of compiler options, linker parameters... search in the dev=20 > mailing list, I don't remember when they answered me with all those=20 > options you must provide, more or less six or seven months ago or=20 > before. >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to $1,000=20 > 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=20 > intended solely for the use of the individual or entity to whom they=20 > are addressed. No confidentiality > or privilege is waived or lost by any wrong transmission.=20 > If you have received this message in error, please immediately destroy > it and kindly=20 > notify the sender by reply email. > You must not, directly or indirectly, use, disclose, distribute, print,= > or copy any=20 > part of this message if you are not the intended recipient. Opinions, > conclusions and=20 > other information in this message that do not relate to the official > business of=20 > Ydilo Advanced Voice Solutions, S.A. shall be understood as neither > given nor endorsed by it.=20 > -------------------------------------------------------------------------= --- ---------- >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf=20 > _______________________________________________ > 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 __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -------------------------------------------------------------------------= ------------- This message and any files transmitted with it are confidential and inten= ded solely=20 for the use of the individual or entity to whom they are addressed. No co= nfidentiality=20 or privilege is waived or lost by any wrong transmission.=20 If you have received this message in error, please immediately destroy it= =20and kindly=20 notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, o= r copy any=20 part of this message if you are not the intended recipient. Opinions, con= clusions and=20 other information in this message that do not relate to the official busi= ness of=20 Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given= =20nor endorsed by it.=20 -------------------------------------------------------------------------= ------------- |