Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Converting CString to const char* [modified] -Solved again Pin
Marc Clifton12-Jul-08 9:11
mvaMarc Clifton12-Jul-08 9:11 
QuestionWTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton12-Jul-08 5:34
mvaMarc Clifton12-Jul-08 5:34 
AnswerRe: WTF: Linker can only find inline functions [modified] - Solved Pin
bob1697212-Jul-08 7:11
bob1697212-Jul-08 7:11 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton12-Jul-08 9:10
mvaMarc Clifton12-Jul-08 9:10 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Bram van Kampen12-Jul-08 13:55
Bram van Kampen12-Jul-08 13:55 
AnswerRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Saurabh.Garg12-Jul-08 19:58
Saurabh.Garg12-Jul-08 19:58 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton13-Jul-08 3:04
mvaMarc Clifton13-Jul-08 3:04 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Saurabh.Garg13-Jul-08 4:28
Saurabh.Garg13-Jul-08 4:28 
I don't do much C# so I am not sure how it sets the folder for a project but in VC++ it is like this.

"Configuration Properties" -> "Output Directory" : Sets the output directory for the entire project. By default it is set to $(SolutionDir)$(ConfigurationName) so the Release or Debug folder is created in the folder where solution file is located.

"Configuration Properties" -> "Intermediate Directory" : Sets the intermediate directory for the entire project. By default it is set to $(ConfigurationName) so the Release or Debug folder is created in the folder where project file is located.

Now if I have a solution with following organization:

FooBar
FooBar.sln
Project1
Project1.vcproject
Project2
Project2.vcproject
Project3
Project3.vcproject

I configure each project like this:
OutDir = $(SolutionDir)\Bin
IntDir = $(SolutionDir)\Temp\$(ProjectName)\$(ConfigurationName)

Note: If you want both debug and release binaries the add D to the debug configuration, otherwise this setting will only contain binaries from the last build.

Having said this, in VC++, you can configure path of each file produced separately. So if for some reason you wany PDB files in some other folder then go to "Configuration Properties" -> C\C++ -> Output files and set "Program Datbase file name" to any thing you want.

Also check out macros when setting a path, there are lots of useful folders defined as macros.


Setting project as reference works as well but well thats not how native developers do it Smile | :)

-Saurabh
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton13-Jul-08 5:43
mvaMarc Clifton13-Jul-08 5:43 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Saurabh.Garg13-Jul-08 4:30
Saurabh.Garg13-Jul-08 4:30 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton13-Jul-08 5:45
mvaMarc Clifton13-Jul-08 5:45 
QuestionCArray in CMap Pin
Trupti Mehta12-Jul-08 4:35
Trupti Mehta12-Jul-08 4:35 
AnswerRe: CArray in CMap Pin
Ștefan-Mihai MOGA12-Jul-08 23:06
professionalȘtefan-Mihai MOGA12-Jul-08 23:06 
GeneralRe: CArray in CMap Pin
Trupti Mehta13-Jul-08 0:36
Trupti Mehta13-Jul-08 0:36 
QuestionHow can create an SDI type project inside in another SDI type project? Pin
Le@rner12-Jul-08 2:28
Le@rner12-Jul-08 2:28 
AnswerRe: How can create an SDI type project inside in another SDI type project? Pin
Nelek14-Jul-08 21:06
protectorNelek14-Jul-08 21:06 
QuestionUpdate only a part of a View with OnUpdateAllViews 2nd ! Pin
CrocodileBuck12-Jul-08 2:05
CrocodileBuck12-Jul-08 2:05 
AnswerRe: Update only a part of a View with OnUpdateAllViews 2nd ! Pin
Prasann Mayekar12-Jul-08 3:41
Prasann Mayekar12-Jul-08 3:41 
GeneralRe: Update only a part of a View with OnUpdateAllViews 2nd ! Pin
CrocodileBuck12-Jul-08 4:09
CrocodileBuck12-Jul-08 4:09 
GeneralRe: Update only a part of a View with OnUpdateAllViews 2nd ! Pin
CrocodileBuck12-Jul-08 4:11
CrocodileBuck12-Jul-08 4:11 
QuestionRe: Update only a part of a View with OnUpdateAllViews 2nd ! Pin
David Crow12-Jul-08 7:38
David Crow12-Jul-08 7:38 
Questionstring table error Pin
erfi12-Jul-08 1:20
erfi12-Jul-08 1:20 
AnswerRe: string table error Pin
Bram van Kampen12-Jul-08 13:58
Bram van Kampen12-Jul-08 13:58 
QuestionCBitmapbutton Behaviour Pin
AnithaSubramani12-Jul-08 0:10
AnithaSubramani12-Jul-08 0:10 
AnswerRe: CBitmapbutton Behaviour Pin
Gary R. Wheeler12-Jul-08 3:16
Gary R. Wheeler12-Jul-08 3:16 

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.