Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralImage List and managed extensions problem Pin
sv2george28-Sep-04 23:33
sv2george28-Sep-04 23:33 
GeneralRe: Image List and managed extensions problem (Dirty solution!) Pin
sv2george29-Sep-04 0:50
sv2george29-Sep-04 0:50 
QuestionHow to get volume letter of a USB disk ? Pin
Amanda Davis28-Sep-04 23:25
Amanda Davis28-Sep-04 23:25 
AnswerRe: How to get volume letter of a USB disk ? Pin
JimmyRopes29-Sep-04 3:23
professionalJimmyRopes29-Sep-04 3:23 
GeneralHelp me,please! the parameter nEscape Pin
Guoguor28-Sep-04 22:49
Guoguor28-Sep-04 22:49 
GeneralRe: Help me,please! the parameter nEscape Pin
Sujan Christo28-Sep-04 23:19
Sujan Christo28-Sep-04 23:19 
GeneralNeed help to understand the MAKE utility in VS.Net. Pin
Link260028-Sep-04 22:21
Link260028-Sep-04 22:21 
GeneralRe: Need help to understand the MAKE utility in VS.Net. Pin
Andrew Walker29-Sep-04 2:30
Andrew Walker29-Sep-04 2:30 
No, but it's similar.

If all you want to do is build an application from the command line you have a few options. nmake is one of them, but unless you are familiar with makefiles from another environment it probably isn't worth your while learning them (I find it much easier to let visual studio do it)

Before running NAnt (AFAIK) or devenv from the command line you will need to run vsvars32.bat

NAnt is a command line build system which uses XML, it's nice for C# but it still looks like a hassle for C++ which has so many compiler options. It is doable however

NAnt[^]
NAnt with C++[^]
More NAnt C++ Stuff[^]
What I've found is easier is to use the IDE to build your code from the command-line. This is the only officially sanctioned MS way of doing things at the moment, and it looks like being that way for a while (MSBuild the command line build system for VS.NET 2005 won't support C++). One thing Microsoft don't tell you is that this won't work for solutions or projects with spaces in the names (not the folders, just the actual files).

devenv /build debug "c:\MySolutions\VStudioProjects\MySolution\MySolution.sln"

VS.NET from the command line[^]


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 your aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

GeneralText Editors developed in VC++ Pin
SVPG28-Sep-04 22:14
SVPG28-Sep-04 22:14 
GeneralProblem using Visual Studio.Net 03 in command-line prompt. Pin
Link260028-Sep-04 22:11
Link260028-Sep-04 22:11 
GeneralRe: Problem using Visual Studio.Net 03 in command-line prompt. Pin
Sujan Christo28-Sep-04 23:14
Sujan Christo28-Sep-04 23:14 
GeneralQuestion about compiling a driver Pin
gamitech28-Sep-04 21:42
gamitech28-Sep-04 21:42 
GeneralQuestion about compiling a driver Pin
gamitech28-Sep-04 21:38
gamitech28-Sep-04 21:38 
GeneralTrigger an event in a COM addin Pin
Anthony_Yio28-Sep-04 20:29
Anthony_Yio28-Sep-04 20:29 
QuestionHow to enable and disable a device driver by using VC or BC? Pin
tsung-yu28-Sep-04 20:28
tsung-yu28-Sep-04 20:28 
AnswerRe: How to enable and disable a device driver by using VC or BC? Pin
22491728-Sep-04 20:41
22491728-Sep-04 20:41 
Generalparser Pin
Anonymous28-Sep-04 19:53
Anonymous28-Sep-04 19:53 
GeneralRe: parser Pin
Anonymous28-Sep-04 19:54
Anonymous28-Sep-04 19:54 
GeneralRe: parser Pin
Anthony_Yio28-Sep-04 20:24
Anthony_Yio28-Sep-04 20:24 
GeneralRe: parser Pin
Yulianto.28-Sep-04 20:01
Yulianto.28-Sep-04 20:01 
GeneralRe: parser Pin
Alan Chambers29-Sep-04 10:43
Alan Chambers29-Sep-04 10:43 
GeneralFunction pointer question... Pin
GDavy28-Sep-04 19:33
GDavy28-Sep-04 19:33 
GeneralRe: Function pointer question... Pin
GDavy28-Sep-04 19:38
GDavy28-Sep-04 19:38 
GeneralRe: Function pointer question... Pin
22491728-Sep-04 20:47
22491728-Sep-04 20:47 
GeneralConvert .exe to .dll Pin
jw8128-Sep-04 19:16
jw8128-Sep-04 19: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.