Microsoft Foundation Classes

Eric Britten ebritten@uci.edu
Mon Aug 18 21:16:00 GMT 1997


> Is it possible to use MFC 4.1 using gnu-win32?  If so, how?
>

If you can get the source and compile it, I would say yes.  I compiled
OWL 2.0 a few months ago and wrote a simple program that worked.  OWL is
a class library that is different from MFC, however I did cut out the
multithreaded functionallity.  OWL does not use any compiler specific
keywords.  You only need templates and exception handling.

As long as GCC supports all the syntax conventions of MFC you can
compile it.  I know is uses a special keyword called afx_msg; it is used
for window message handling.  I am not sure if there is a work around
for this keyword.  This is your biggest problem to overcome.

You need the source because VC++ and Borland C++ use a different name
mangling conventions.  If you can get the source to compile, you can
then create static and dynamic link MFC libraries.  DLLs with GCC are
hard to create, I have had little luck with them.

> ____________________________________________________________________
> Get free e-mail and a permanent address at http://www.netaddress.com



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list