Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,
can you tell me what is the solution of this error...

warning C4627: '#include "CDragDrop.h"': skipped when looking for precompiled header use


Thanks in advance
Vivek Chauhan
Posted
Updated 27-May-10 22:58pm
v2

May be you have included "CDragDrop.h" file before "stdafx.h", as follow:

C++
#include "CDragDrop.h"
#include "stdafx.h"


to fix the problem, write all the file inclusions after the #include "stdafx.h" statement.
It should be like this:

#include "stdafx.h"
#include "CDragDrop.h"
 
Share this answer
 
v3
Make sure you have included you precompiled header in that file. I think it's compulsary in Visual Studio.
 
Share this answer
 
Is the #include for your precompiled header in your .cpp file that is being compiled when this warning occurs?
 
Share this answer
 

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