Click here to Skip to main content
Rate this: bad
good
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 Frown | :(
Can anyone please help?
 
Emmos2011
Posted 20-Sep-11 8:26am
Edited 20-Sep-11 10:43am
(no name)84.9K
v2
Comments
SAKryukov at 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
0 OriginalGriff 587
1 Sergey Alexandrovich Kryukov 479
2 Maciej Los 305
3 Mathew Soji 195
4 BillWoodruff 170
0 OriginalGriff 7,356
1 Sergey Alexandrovich Kryukov 6,777
2 DamithSL 5,461
3 Manas Bhardwaj 4,916
4 Maciej Los 4,475


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 20 Sep 2011
Copyright © CodeProject, 1999-2014
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