Conflicts with MFC and VC 5

Stefaan A Eeckels Stefaan.Eeckels@ecc.lu
Fri, 28 Nov 1997 09:54:38 +0100 (MET)


-----BEGIN PGP SIGNED MESSAGE-----

Henrik,

>#include <omniORB2/CORBA.h>
> 
>#include <afxwin.h>
> 
> class Test
>   {
>   public:
> 
>   Test(CWnd& wnd);
> 
>   };
> 
> Test::Test(CWnd& wnd)
>   {
> 
>   }
> 
The message means that the windows.h file has already been included
prior to the inclusion of afxwin.h. Invert the include statements
and all should be well.

Stefaan
- -- 

PGP key available from PGP key servers (http://www.pgp.net/pgpnet/)
___________________________________________________________________
  "Don't worry about people stealing your ideas.  If your ideas
   are any good, you'll have to ram them down people's throats."
                                                -- Howard Aiken

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
Comment: Requires PGP version 2.6 or later.

iQB1AwUBNH6Gzukr8wdEbL25AQE8rAL+LHRgolZjLsxBWrxnSm0DjScJeWqL8jfM
X+ZVIQIUMZ4gjyeO5O8HxTSwj21EU4JdOeCL2hl/PIJp9G59vongbvNJf2yT+z6e
u8bR+bk2Me/5k5TiT7/F5fPGpH9gKEZi
=+CIC
-----END PGP SIGNATURE-----