Click here to Skip to main content
15,892,537 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Logon failure with Win32 Service Pin
Graham Bradshaw16-Nov-08 8:04
Graham Bradshaw16-Nov-08 8:04 
QuestionHook printer jobs Pin
Green Fuze15-Nov-08 9:05
Green Fuze15-Nov-08 9:05 
AnswerRe: Hook printer jobs Pin
Garth J Lancaster15-Nov-08 22:51
professionalGarth J Lancaster15-Nov-08 22:51 
QuestionCRichEditCtrl - problem with SetTargetDevice and TO_ADVANCEDTYPOGRAPHY Pin
szczepi15-Nov-08 8:57
szczepi15-Nov-08 8:57 
QuestionReferencing lib file Pin
Christian Flutcher15-Nov-08 7:25
Christian Flutcher15-Nov-08 7:25 
AnswerRe: Referencing lib file Pin
Mark Salsbery15-Nov-08 7:30
Mark Salsbery15-Nov-08 7:30 
GeneralRe: Referencing lib file Pin
Christian Flutcher16-Nov-08 6:56
Christian Flutcher16-Nov-08 6:56 
GeneralRe: Referencing lib file Pin
Mark Salsbery16-Nov-08 7:08
Mark Salsbery16-Nov-08 7:08 
Christian Flutcher wrote:
Is it a good practice to give fully qualified path for the includes?


I personally don't like fully qualified pathnames because it may cause a problem
when I move a project to another computer or a different drive.

I also don't like copying third-party source to my project's folder.

I like to arrange my project folders so I can use relative paths, something like
SolutionFolder
   ProjectAFolder
   ProjectBFolder
   ProjectCFolder
   ThirdPartyLibFolder

Then if a source file in project A needs to reference a ThirdPartyLib header file:
#include "..\ThirdPartyLibFolder\someheader.h"

That way the entire solution folder tree can be freely moved around without having to change
source code.

You can also use relative paths to reference the .lib Smile | :)

Christian Flutcher wrote:
Have a great week ahead.


Thank you! You too!

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Referencing lib file Pin
Christian Flutcher16-Nov-08 7:12
Christian Flutcher16-Nov-08 7:12 
GeneralRe: Referencing lib file Pin
Mark Salsbery16-Nov-08 7:22
Mark Salsbery16-Nov-08 7:22 
GeneralRe: Referencing lib file Pin
Jijo.Raj16-Nov-08 7:34
Jijo.Raj16-Nov-08 7:34 
GeneralRe: Referencing lib file Pin
Christian Flutcher17-Nov-08 15:37
Christian Flutcher17-Nov-08 15:37 
QuestionProblems with malloc() and typedef struct Pin
Manfr3d15-Nov-08 3:11
Manfr3d15-Nov-08 3:11 
AnswerRe: Problems with malloc() and typedef struct Pin
Iain Clarke, Warrior Programmer15-Nov-08 3:18
Iain Clarke, Warrior Programmer15-Nov-08 3:18 
GeneralRe: Problems with malloc() and typedef struct Pin
Manfr3d15-Nov-08 4:08
Manfr3d15-Nov-08 4:08 
AnswerRe: Problems with malloc() and typedef struct Pin
cmk15-Nov-08 9:21
cmk15-Nov-08 9:21 
GeneralRe: Problems with malloc() and typedef struct Pin
Manfr3d15-Nov-08 23:22
Manfr3d15-Nov-08 23:22 
GeneralRe: Problems with malloc() and typedef struct Pin
cmk16-Nov-08 8:47
cmk16-Nov-08 8:47 
Questionset focus to a control problem on win32 dialogs [modified] Pin
abdolahzadeh15-Nov-08 2:55
abdolahzadeh15-Nov-08 2:55 
AnswerRe: set focus to a control problem on win32 dialogs Pin
Code-o-mat15-Nov-08 3:36
Code-o-mat15-Nov-08 3:36 
GeneralRe: set focus to a control problem on win32 dialogs Pin
abdolahzadeh16-Nov-08 2:43
abdolahzadeh16-Nov-08 2:43 
AnswerRe: set focus to a control problem on win32 dialogs Pin
Mark Salsbery15-Nov-08 7:27
Mark Salsbery15-Nov-08 7:27 
GeneralRe: set focus to a control problem on win32 dialogs Pin
abdolahzadeh16-Nov-08 2:39
abdolahzadeh16-Nov-08 2:39 
QuestionRe: set focus to a control problem on win32 dialogs Pin
Mark Salsbery16-Nov-08 6:05
Mark Salsbery16-Nov-08 6:05 
AnswerRe: set focus to a control problem on win32 dialogs Pin
abdolahzadeh18-Nov-08 3:51
abdolahzadeh18-Nov-08 3:51 

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.