Click here to Skip to main content
15,888,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldoubts about .net / managed C++ Pin
doneirik1-Mar-05 2:09
doneirik1-Mar-05 2:09 
GeneralHelp Dont know why Pin
Anonymous1-Mar-05 2:02
Anonymous1-Mar-05 2:02 
GeneralRe: Help Dont know why Pin
Chris Losinger1-Mar-05 2:42
professionalChris Losinger1-Mar-05 2:42 
GeneralRe: Help Dont know why Pin
Anonymous1-Mar-05 3:09
Anonymous1-Mar-05 3:09 
GeneralUnderstanding MBCS Pin
Chintoo7231-Mar-05 1:55
Chintoo7231-Mar-05 1:55 
GeneralRe: Understanding MBCS Pin
Michael Dunn1-Mar-05 7:46
sitebuilderMichael Dunn1-Mar-05 7:46 
GeneralExtract text from PDF in C++ Pin
User 17288841-Mar-05 1:43
User 17288841-Mar-05 1:43 
GeneralUsing stdafx.h in multiple directories Pin
raghavr21-Mar-05 0:54
raghavr21-Mar-05 0:54 
Hi,

I have an MFC Dll with multiple directories like,

MyProj,
MyProj/Sample1
MyProj/Sample2

The class files are under the Sample1 and Sample2 directories. However, the StdAfx.cpp and the StdAfx.h (precompiled header) are under the parent directory (MyProj).

My question is, If we need to "Use precompiled header" for the cpp files under Sample1/2 directories, is it sufficient if we
#include "StdAfx.h" and "Use precompiled header" through "StdAfx.h" for these files

Or

Do we need to give the relative paths for the precompiled header
like #include "../StdAfx.h" and the same for the Use precompiled header "../StdAfx.h"

Thanks in advance,
Raghav
GeneralRe: Using stdafx.h in multiple directories Pin
Blake Miller1-Mar-05 6:19
Blake Miller1-Mar-05 6:19 
GeneralRe: Using stdafx.h in multiple directories Pin
raghavr21-Mar-05 16:38
raghavr21-Mar-05 16:38 
GeneralRe: Using stdafx.h in multiple directories Pin
Blake Miller2-Mar-05 7:09
Blake Miller2-Mar-05 7:09 
GeneralRe: Using stdafx.h in multiple directories Pin
raghavr22-Mar-05 16:50
raghavr22-Mar-05 16:50 
GeneralRe: Using stdafx.h in multiple directories Pin
Blake Miller3-Mar-05 6:07
Blake Miller3-Mar-05 6:07 
Generalbluetooth programming Pin
Member 16324381-Mar-05 0:25
Member 16324381-Mar-05 0:25 
Generalwmi Pin
ozgul28-Feb-05 22:52
ozgul28-Feb-05 22:52 
GeneralRe: wmi Pin
Steve Thresher1-Mar-05 1:52
Steve Thresher1-Mar-05 1:52 
GeneralRe: wmi Pin
ozgul1-Mar-05 2:49
ozgul1-Mar-05 2:49 
GeneralRe: wmi Pin
Aamir Butt2-Mar-05 0:01
Aamir Butt2-Mar-05 0:01 
GeneralGetting a bit frustrated with Readfile/Writefile Pin
User 137680028-Feb-05 22:46
User 137680028-Feb-05 22:46 
GeneralRe: Getting a bit frustrated with Readfile/Writefile Pin
Michael Dunn1-Mar-05 1:42
sitebuilderMichael Dunn1-Mar-05 1:42 
GeneralRe: Getting a bit frustrated with Readfile/Writefile Pin
User 13768001-Mar-05 8:32
User 13768001-Mar-05 8:32 
GeneralChanging colours of a combo box (reposted) Pin
Alton Williams28-Feb-05 22:31
Alton Williams28-Feb-05 22:31 
QuestionHow to get the full Path from GetDisplayName Pin
Lonely Byte28-Feb-05 22:08
Lonely Byte28-Feb-05 22:08 
AnswerRe: How to get the full Path from GetDisplayName Pin
Ravi Bhavnani1-Mar-05 4:32
professionalRavi Bhavnani1-Mar-05 4:32 
GeneralRe: How to get the full Path from GetDisplayName Pin
Lonely Byte1-Mar-05 19:40
Lonely Byte1-Mar-05 19:40 

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.