Click here to Skip to main content
15,902,492 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: URGENT: MAPI won't work !!! Pin
Hadi Rezaee22-Jun-03 9:48
Hadi Rezaee22-Jun-03 9:48 
GeneralCDialog disappearing Pin
gbenguita22-Jun-03 2:20
gbenguita22-Jun-03 2:20 
GeneralRe: CDialog disappearing Pin
valikac22-Jun-03 7:27
valikac22-Jun-03 7:27 
GeneralCant change mouse speed with SPI_SETMOUSE ! Pin
feederman22-Jun-03 1:36
feederman22-Jun-03 1:36 
GeneralRe: Cant change mouse speed with SPI_SETMOUSE ! Pin
Ryan Binns22-Jun-03 5:16
Ryan Binns22-Jun-03 5:16 
GeneralChess-like brush Pin
Xakep22-Jun-03 0:23
Xakep22-Jun-03 0:23 
GeneralIBuildProject & IApplication Pin
YaronNir21-Jun-03 23:45
YaronNir21-Jun-03 23:45 
GeneralRe: IBuildProject & IApplication Pin
Andrew Walker22-Jun-03 1:47
Andrew Walker22-Jun-03 1:47 
I use simple code, assuming that the only configurations will be debug and release

1/ Remove the old tool settings (I think you've got the basic idea, from the info in the question)
2/ Add the new tool settings to replace the ones you've removed.

// set the configuration number (debug / release)
_variant_t varj = j;
// work out if this is a debug build
BOOL bDebug = (BOOL) _tcsstr((const char*)outOpts, _T("Debug"));</br>
// remove the old output options
pConfig->RemoveToolSettings(linker, "/out:", varj);</br>
// load the new output options
_bstr_t outPath = bDebug ? "/out:Debug\\" : "/out:Release\\";
outPath += "foo.exe";  // set your new name here
pConfig->AddToolSettings(linker, outPath, varj);

[edit] Sorry, again this is a VC6 Solution [:edit]


If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

GeneralRe: IBuildProject &amp; IApplication Pin
YaronNir22-Jun-03 2:04
YaronNir22-Jun-03 2:04 
GeneralRe: IBuildProject &amp; IApplication Pin
Andrew Walker22-Jun-03 2:12
Andrew Walker22-Jun-03 2:12 
GeneralRe: IBuildProject &amp; IApplication Pin
YaronNir22-Jun-03 2:40
YaronNir22-Jun-03 2:40 
GeneralRe: IBuildProject &amp; IApplication Pin
Andrew Walker22-Jun-03 2:55
Andrew Walker22-Jun-03 2:55 
GeneralRe: IBuildProject &amp; IApplication Pin
YaronNir22-Jun-03 2:59
YaronNir22-Jun-03 2:59 
GeneralRe: IBuildProject &amp; IApplication Pin
YaronNir22-Jun-03 3:36
YaronNir22-Jun-03 3:36 
GeneralCustom Appwizard help Pin
YaronNir21-Jun-03 21:56
YaronNir21-Jun-03 21:56 
GeneralRe: Custom Appwizard help Pin
Andrew Walker22-Jun-03 1:24
Andrew Walker22-Jun-03 1:24 
GeneralRe: Custom Appwizard help Pin
YaronNir22-Jun-03 1:35
YaronNir22-Jun-03 1:35 
Generalchanging the background color of CEdit Pin
YanivNahum21-Jun-03 21:48
YanivNahum21-Jun-03 21:48 
GeneralRe: changing the background color of CEdit Pin
Ryan Binns21-Jun-03 22:55
Ryan Binns21-Jun-03 22:55 
GeneralRe: changing the background color of CEdit Pin
Brian Delahunty22-Jun-03 0:45
Brian Delahunty22-Jun-03 0:45 
QuestionHow Can i control net connection? Pin
zhangyifei21-Jun-03 19:56
zhangyifei21-Jun-03 19:56 
AnswerRe: How Can i control net connection? Pin
YanivNahum21-Jun-03 21:45
YanivNahum21-Jun-03 21:45 
GeneralRe: How Can i control net connection? Pin
zhangyifei22-Jun-03 3:57
zhangyifei22-Jun-03 3:57 
GeneralAdding view(s) to the view list of a document Pin
pdunn21-Jun-03 18:59
pdunn21-Jun-03 18:59 
Questionhow can i do? Pin
jing_cao21-Jun-03 15:46
jing_cao21-Jun-03 15:46 

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.