Re: WDK KMDF 1.0 does not build nmake error U1065



command line 'mode' tell me the code page I'm using is 850, which is Latin
or some wierd thing. I used mode to chasnge the code page to US Standard or
whatever- no effect.

No I don't think this is the issue, esp. since others are building it quite
fine.

Luke

"Norman Diamond" <ndiamond@xxxxxxxxxxxxxxxx> wrote in message
news:e42RvODMGHA.3104@xxxxxxxxxxxxxxxxxxxxxxx
"Luke" <luke.evans@xxxxxxxxxxxx> wrote in message
news:ub$gKtCMGHA.3984@xxxxxxxxxxxxxxxxxxxxxxx
Has anyone else been unable to build KMDF 1.0 driver examples?

BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Object root set to: ==> objchk_wnet_x86
BUILD: Compile and Link for i386
BUILD: Examining c:\winddk\wdf\kmdf10\src\kmdf directory tree for files
to
compile.
BUILD: Building generated files in
c:\winddk\wdf\kmdf10\src\kmdf\toaster\bus\static directory
errors in directory c:\winddk\wdf\kmdf10\src\kmdf\toaster\bus\static
NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe failed - rc = 2
etc etc etc.

Build reports 63 errors, all the same. Have followed installations
instructions to a 'T' and have made no modifications.

I reported the exact same thing to Microsoft several months ago. Their
reply can be found on any Linux system, in /dev/null.

Some time after that, I figured out that their instructions are just too
cute. When you use the mouse to copy and paste something that looks like
a
minus sign, you get something that looks like a minus sign, but
Microsoft's
programmers didn't code nmake or compilers to understand something that
looks like a minus sign. You have to type a real minus sign yourself,
from
the keyboard.

Now even after you make that adjustment, some WDK samples still don't
compile. Well they do if you figure out what ANSI code page Microsoft
tested it under, and figure out how to set your ANSI code page to the
same.
There are occasions when it would be profitable to be 7-bit clean in
writing
source code, and the WDK would be one.



.



Relevant Pages

  • Re: Puzzle: Add One Without Using + OR -
    ... > ASCII codes to insert the plus or minus sign. ... > is more elegant or efficient. ... post code that compiles. ...
    (comp.lang.cpp)
  • Re: WDK KMDF 1.0 does not build nmake error U1065
    ... Compile and Link for i386 ... minus sign, you get something that looks like a minus sign, but Microsoft's ... Now even after you make that adjustment, some WDK samples still don't ... Well they do if you figure out what ANSI code page Microsoft ...
    (microsoft.public.development.device.drivers)
  • lcc-win32 conformance question
    ... If I compile this program ... return 0; // foo bar baz ... (minus the quotes), no diagnostic is produced; ...
    (comp.lang.c)
  • Re: switch-statement ???
    ... "Chris" wrote: ... That will actually compile, but it won't do what you want. ... (The minus ... sign is subtraction, so it's equivalent to "case -899".) ...
    (microsoft.public.dotnet.languages.csharp)
  • new sed available, lynx stuff, wget, FAQ updates
    ... I tried building a newer version of lynx since the latest I've found for A/UX ... I could get 2.8.4 and 2.8.5 to compile, ... up - I would see part of the ANSI code displayed at the beginning of every ... This appears to be due to the terminal type. ...
    (comp.unix.aux)