I tried to link the .lib file, and also include the header file in my C ++ console project. I copied the C ++ header file from one of my other projects and pasted it into a folder Header Filesin the console application. Here's a screenshot to see: http://i.imgur.com/JFFIn.png
However, when I try to include the header in my code as #include..., I do not get intellisense with my header name. (I see only targetver.h, stdafx.h and the Debug folder)
I tried to specify the Add additional include directoriesProject folder itself in my project properties of the C ++ console application, but this does not seem to help, and the file still does not appear.
If I write the header file name as #include "DllTest.h", I get an error:
Cannot open include file: 'DLLTest.h': No such file or directory c:\users\ht\documents\visual studio 2010\projects\dlltest\dlltestconsole\dlltestconsole.cpp
How is the title here, so it starts to appear? If I add a new item > Header File, name it DLLTest.h and copy the contents of the header files here, it just displays normally. How will the header file that is copied - pasted into a folder Header Filesin code be displayed ?
source
share