Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Updated 20-Sep-11 9:43am
v2
Comments
Sergey Alexandrovich Kryukov 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900