Re: WDK build 6000 under Visual Studio

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Try to modify the command to execute your cmd file as follows:
cmd.exe /c yourfile.cmd [parameters]

and if this won't help:

cmd.exe /c yourfile.cmd [parameters] < NUL

--PA


"theo" <nicos_theo@xxxxxxxxxxx> wrote in message news:1171905701.138924.111870@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I've just upgraded to the latest WDK. I have batch file that builds
the driver from within visual studio and outputs everything to the
output window.

Everything works fine, however since upgrading the following
happens....

Running the batch file from a DOS prompt is fine.

Running the batch file in Visual studio works, but for every single
file I'm getting a dump of all the compiler flags. E.g.

BUILD: Building generated files in c:\xxxxxx
_NT_TARGET_VERSION SET TO WINXP
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.220
for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl
/Ii386
/I.
/I..\..\..\..\inc
/IC:\WINDDK\6000\inc\api
/IC:\WINDDK\6000\inc\api
/IC:\WINDDK\6000\inc\ddk
/IC:\WINDDK\6000\inc\ddk
........
/D_X86_=1
/Di386=1
----------------
Does anyone know how can prevent that information from being
displayed? It seems to happen regardless of the build flags and never
occurs under a DOS prompt.

Thanks,



.



Relevant Pages

  • Re: subclass datagrid control
    ... Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK ... I tried doing just an override overload, or just an overload, but still got errors. ... The design-time assembly is usually built by hand (command line, batch file). ...
    (microsoft.public.dotnet.framework.compactframework)
  • PATH environment variable behavior
    ... I have a situation where I have a Makefile project, ... commands I am attempting to run a batch file to build them. ... open a command prompt and successfully call this batch file without ... Visual Studio THINKS is my PATH. ...
    (microsoft.public.vsnet.general)
  • Problem Capturing Output of /Zg
    ... I have defined a Custom Rule to generate prototypes. ... The rule calls a batch file as follows: ... When I run the batch file from the command line (say, Tools> Visual Studio 2005 Command Prompt), it produces a non-empty and valid prototype file. ...
    (microsoft.public.vc.ide_general)
  • Re: Cant run csc.exe?
    ... Tried that in C:\Program Files\Microsoft Visual Studio .NET ... I added the path variable and in the command prompt where I am running my ... attrib user.dll -r ... operable program or batch file. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to get Post-Build Event to launch GUI app, still edit.
    ... launch your code coverage too, one that will not wait for the program to ... It launches just fine, but Visual Studio ... works fine if I run the batch file outside of Visual studio but doesn't ...
    (microsoft.public.dotnet.languages.csharp)