ilovenaibao / faceencrypt

Automatically exported from code.google.com/p/faceencrypt
0 stars 0 forks source link

Code review request #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Branch name:

Purpose of code changes on this branch:

When reviewing my code changes, please focus on:

After the review, I'll merge this branch into:
/trunk

Original issue reported on code.google.com by daimingz...@gmail.com on 12 Dec 2011 at 7:57

GoogleCodeExporter commented 9 years ago
Hi, 

I'm university student who interested in this faceencrypt but I cant compile it 
=(

1>c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxv_w32.h(16) 
: fatal error C1189: #error :  WINDOWS.H already included.  MFC apps must not 
#include <windows.h>

no matter I using vs2008 or vs2010 the result til the same.. may I know how to 
solve this problem?? Thanks a lot =)

~have a nice day~

best regards,
Christy

Original comment by christyt...@gmail.com on 25 Feb 2012 at 1:53

GoogleCodeExporter commented 9 years ago
Hi,
sorry ,I'm late to reply you.for you problem,I have two advice:
   1. remove "#include <windows.h>" ,see http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/f34c8b0e-59a1-4abc-86de-319ee748c9d7.
   2. add "#define  _WIN32_WINNT   0x0500" to the file stdafx.h to say It is Win32 project.
   At last,you know this project is made by VC6.0,If you have compile it successfully with other IDE(like vs2008,vs2010),you can share it.Then others  will use it more Conveniently and better.
   waitting for your good news....

  ~have a nice day~
   best regards,
   daiming zhang

Original comment by daimingz...@gmail.com on 13 Apr 2012 at 3:54