Click here to Skip to main content
12,826,820 members (38,504 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++/CLI
Hi
I am trying to get a pop up message when I push a button in my application but I found that MFC is not supported in visual C++ Express 2008 that I am using.
So I searched and found this link that solves the problem How to compile MFC code in Visual C++ Express[^].
But when I do everything in it and add afxwin.h to put the message box command I get an error that I have windows.h included twice (once in the afxwin.h fie and once in my project)

When I comment out the one that I include I get a lot of other error messages???
My project is a USB sniffer and everything works except for this part that I can't do :(
Can anyone please help?

Emmos2011
Posted 20-Sep-11 8:26am
Updated 20-Sep-11 10:43am
v2
Comments
SAKryukov 20-Sep-11 16:35pm
   
C++/CLI?! It has nothing to do with MFC.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170326.1 | Last Updated 20 Sep 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100