Click here to Skip to main content
15,909,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRelative path for #include directive - how to specify subdirectory on "down"level Pin
Vaclav_31-Jan-14 10:18
Vaclav_31-Jan-14 10:18 
<pre><pre lang="text">
I can specify relative path from current directory using “Additional include directories “ to a directory on same level and it compiles. Same method works when “going up” in directory tree.

Additional include directories ( for compiler )
.\TESTLib
#include "..\_TEST.h"
#include "..\StdAfx.h"
Now how do I specify the path to a subdirectory?
My directory “Modules” is on same level as project directory and “DIrectShow 8.1 SDK” is its
subdirectory.

This does not work, obviously I am missing something.

Additional include directories
.\Modules\DIrectShow 8.1 SDK
#include "..\Modules\DIrectShow 8.1 SDK\_TEST_B.h"
Any help or reference source / sample would be greatly appreciated.
Cheers Vaclav </pre></pre>
AnswerRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Garth J Lancaster31-Jan-14 10:57
professionalGarth J Lancaster31-Jan-14 10:57 
AnswerRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
jeron131-Jan-14 11:00
jeron131-Jan-14 11:00 
GeneralRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Vaclav_31-Jan-14 11:09
Vaclav_31-Jan-14 11:09 
AnswerRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Richard Andrew x6431-Jan-14 11:25
professionalRichard Andrew x6431-Jan-14 11:25 
AnswerRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Richard MacCutchan31-Jan-14 22:13
mveRichard MacCutchan31-Jan-14 22:13 
GeneralRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Vaclav_1-Feb-14 16:14
Vaclav_1-Feb-14 16:14 
AnswerRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Randor 1-Feb-14 21:20
professional Randor 1-Feb-14 21:20 
GeneralRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Vaclav_2-Feb-14 3:50
Vaclav_2-Feb-14 3:50 
GeneralRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Richard MacCutchan1-Feb-14 21:24
mveRichard MacCutchan1-Feb-14 21:24 
GeneralSOLVED Re: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Vaclav_3-Feb-14 4:14
Vaclav_3-Feb-14 4:14 
QuestionBuilding UI Automation in C++ for MFC applications?? Pin
Member 1031937631-Jan-14 2:24
Member 1031937631-Jan-14 2:24 
AnswerRe: Building UI Automation in C++ for MFC applications?? Pin
Richard MacCutchan31-Jan-14 2:51
mveRichard MacCutchan31-Jan-14 2:51 
AnswerRe: Building UI Automation in C++ for MFC applications?? Pin
Randor 1-Feb-14 21:28
professional Randor 1-Feb-14 21:28 
QuestionProblem to open ppt file using automation. Pin
Le@rner31-Jan-14 0:43
Le@rner31-Jan-14 0:43 
SuggestionRe: Problem to open ppt file using automation. Pin
Jochen Arndt31-Jan-14 1:34
professionalJochen Arndt31-Jan-14 1:34 
GeneralRe: Problem to open ppt file using automation. Pin
Le@rner31-Jan-14 1:42
Le@rner31-Jan-14 1:42 
GeneralRe: Problem to open ppt file using automation. Pin
Jochen Arndt31-Jan-14 2:01
professionalJochen Arndt31-Jan-14 2:01 
GeneralRe: Problem to open ppt file using automation. Pin
Le@rner1-Feb-14 1:16
Le@rner1-Feb-14 1:16 
GeneralRe: Problem to open ppt file using automation. Pin
Richard MacCutchan1-Feb-14 2:12
mveRichard MacCutchan1-Feb-14 2:12 
GeneralRe: Problem to open ppt file using automation. Pin
Le@rner20-Feb-14 1:19
Le@rner20-Feb-14 1:19 
GeneralRe: Problem to open ppt file using automation. Pin
Richard MacCutchan20-Feb-14 2:29
mveRichard MacCutchan20-Feb-14 2:29 
GeneralRe: Problem to open ppt file using automation. Pin
Le@rner20-Feb-14 18:36
Le@rner20-Feb-14 18:36 
QuestionVC++ Matrix Pin
Member 171997130-Jan-14 11:38
Member 171997130-Jan-14 11:38 
QuestionRe: VC++ Matrix Pin
Richard MacCutchan31-Jan-14 0:32
mveRichard MacCutchan31-Jan-14 0:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.