Click here to Skip to main content
16,011,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCreating a folder in Outlook Express? Pin
icetweak28-Jul-03 0:32
icetweak28-Jul-03 0:32 
AnswerRe: Creating a folder in Outlook Express? Pin
David Crow28-Jul-03 4:58
David Crow28-Jul-03 4:58 
GeneralSlider Notifications Pin
Member 48537128-Jul-03 0:04
Member 48537128-Jul-03 0:04 
GeneralControl ID puzling Behaviour Pin
Member 48537128-Jul-03 0:01
Member 48537128-Jul-03 0:01 
GeneralVC6: "global" defines Pin
peterchen27-Jul-03 23:47
peterchen27-Jul-03 23:47 
GeneralRe: VC6: "global" defines Pin
Anonymous28-Jul-03 0:23
Anonymous28-Jul-03 0:23 
GeneralRe: VC6: "global" defines Pin
peterchen28-Jul-03 4:33
peterchen28-Jul-03 4:33 
GeneralRe: VC6: "global" defines Pin
Ryan Binns28-Jul-03 0:44
Ryan Binns28-Jul-03 0:44 
The /D compiler switch should help here. Use /DSYMBOL to simply define a symbol, or /DSYMBOL=value to give it a value.

I'm not sure whether you want the contents of the switch to come from an environment variable, or you want the put the define in an environment variable.

For the first case, you can use %PATH% or equivalent from the command line, or $(PATH) from inside Visual Studio.

For the second case, use the CL environment variable, but in this case you have to replace '=' with '#' when assigning values to the variables.

Hope this helps,

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

Generalwarning to make a choice for editBox Pin
Emre Zorlu27-Jul-03 23:24
Emre Zorlu27-Jul-03 23:24 
GeneralRe: warning to make a choice for editBox Pin
wb27-Jul-03 23:27
wb27-Jul-03 23:27 
GeneralRe: calc Pin
wb28-Jul-03 2:09
wb28-Jul-03 2:09 
GeneralRe: warning to make a choice for editBox Pin
David Crow28-Jul-03 5:01
David Crow28-Jul-03 5:01 
GeneralProper use of _bstr_t Pin
nibor27-Jul-03 23:12
nibor27-Jul-03 23:12 
Questionhow to connect to dbase server using postgres Pin
mhar27-Jul-03 22:55
professionalmhar27-Jul-03 22:55 
AnswerRe: how to connect to dbase server using postgres Pin
basementman28-Jul-03 5:12
basementman28-Jul-03 5:12 
General_open routine Pin
El'Cachubrey27-Jul-03 22:38
El'Cachubrey27-Jul-03 22:38 
GeneralRe: _open routine Pin
Johnny ²28-Jul-03 3:49
Johnny ²28-Jul-03 3:49 
QuestionHow to display the item of a treectrl like this? Pin
allenhu27-Jul-03 21:41
allenhu27-Jul-03 21:41 
AnswerRe: How to display the item of a treectrl like this? Pin
Iain Clarke, Warrior Programmer27-Jul-03 23:05
Iain Clarke, Warrior Programmer27-Jul-03 23:05 
AnswerRe: How to display the item of a treectrl like this? Pin
dan o27-Jul-03 23:13
dan o27-Jul-03 23:13 
GeneralParameters for MSComm Pin
petr.me27-Jul-03 21:37
petr.me27-Jul-03 21:37 
GeneralSuche Leute zum MFC / C++ lernen Pin
schonu27-Jul-03 21:04
schonu27-Jul-03 21:04 
GeneralRe: Suche Leute zum MFC / C++ lernen Pin
Philip Patrick28-Jul-03 1:20
professionalPhilip Patrick28-Jul-03 1:20 
GeneralRe: Suche Leute zum MFC / C++ lernen Pin
peterchen28-Jul-03 4:41
peterchen28-Jul-03 4:41 
GeneralWin32 vc++ Smooth Animation Pin
koxin27-Jul-03 20:54
koxin27-Jul-03 20:54 

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.