From: Maxim S. Shatskih on
> Will DDK build procedure move to the msbuild direction?
> Build.exe has some obscure options referring to XML...

Why putting XML here and there? I cannot imagine why SOURCES file will be
better or more readable due to XML use in it.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim(a)storagecraft.com
http://www.storagecraft.com

From: Maxim S. Shatskih on
> Win32 was traditionally non unicode

??? Win32 traditionally used TCHARs, but now, when Win9x is dead, you can use
WCHARs the same way. At least it is a good idea to use WCHARs in all NT-only
code (server services etc).

On NT, Unicode is native, and ANSI is compatibility shim.

Non-Unicode NT apps have issues with national languages. For instance, they
depend upon the Control Panel settings. Also - the non-Unicode ways of
supporting Far East are one of the worst things in programming.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim(a)storagecraft.com
http://www.storagecraft.com

From: Ivan Brugiolo [MSFT] on
It would be with lower case `s`, and, in modern compilers

G:\>cl /showIncludes
Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50727.52 for x64
Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line error D8003 : missing source filename

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"Maxim S. Shatskih" <maxim(a)storagecraft.com> wrote in message
news:ud1$ANIHGHA.3056(a)TK2MSFTNGP09.phx.gbl...
>> "Maxim S. Shatskih" wrote:
>> > With GCC, you can ask the compiler to "list
>> > all #include dependencies to stdout", but the MS's compiler seems to
>> > not
>>
>> Try CL /ShowIncludes
>
> D:\sb>cl /ShowIncludes
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.2179 for
> 80x86
> Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
>
> cl : Command line warning D4002 : ignoring unknown option '/ShowIncludes'
> cl : Command line error D2003 : missing source filename
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim(a)storagecraft.com
> http://www.storagecraft.com
>


From: Maxim S. Shatskih on
> It would be with lower case `s`, and, in modern compilers
>
> G:\>cl /showIncludes

Is it really the mechanism of "Checking Dependencies" in MSVC and in BUILD?

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim(a)storagecraft.com
http://www.storagecraft.com

From: Pavel A. on
"Maxim S. Shatskih" wrote:
> Why putting XML here and there? I cannot imagine why SOURCES file will be
> better or more readable due to XML use in it.

Because... it is the most popular 3-letter X word - everywhere except Russia
<g/>
And goes into every hole, too.

Won't this look cool?

<?xml version="1.0" encoding="windows-1255"?>
<VisualDriverStudioProject>
Version="9.0"
ProjectType="DdkBuild"
ConfigurationType=PROGRAM
Name=myapp
UMTYPE=console
UMENTRY=wmain
CharacterSet="2"
ProjectGUID="{BABE-BAAAAABE-BEEEE-BEEEE}"

<TARGET
PlatformName="386"
OutputDirectory="bin"

<Tool Name="LinkerTool"
UMBASE=0x10000000
<TARGETLIBS
<TARGETLIB Name="$(SDK_LIB_PATH)\kernel32.lib"/>
<TARGETLIB Name="$(SDK_LIB_PATH)\user32.lib"/>
/>

<Tool Name="CLCompilerTool"
Optimization="3"
WarningLevel="4"
RuntimeLibrary="1"
DebugInformationFormat="4"
/>

<Configurations>
<Configuration>
Name="FREEBUILD"
<Tool Name="CLCompilerTool"
Optimization="0"
/>
</Configuration>
<Configuration>
Name="CHECKEDBUILD"
</Configuration>
</Configurations>

<SOURCES>
<SOURCE Name="myfile.c">
</SOURCES>
</VisualDriverStudioProject>

(it is terrrible... i know )

Regards,
--PA