delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/22/20:47:39

From: ggp AT informix DOT com (Guy Gascoigne - Piggford)
Subject: Re: Microsoft Foundation Classes
22 Aug 1997 20:47:39 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3.0.32.19970819091602.00a51820.cygnus.gnu-win32@pop.pdx.informix.com>
Mime-Version: 1.0
X-Sender: ggp AT pop DOT pdx DOT informix DOT com
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

At 11:26 AM 8/18/97 -0700, Eric Britten wrote:
>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.

Just in case you havn't found out, afx_msg isn't a keyword, it's defined in
afxwin.h and is simply used as a place holder for message handlers.

From the header file.

// Type modifier for message handlers
#ifndef afx_msg
#define afx_msg         // intentional placeholder
#endif

I havn't tried compiling this stuff with gcc though, I'd be interested in
knowing how it goes.

Guy

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019