MARKLOSANGELES:
I just built all the KMDF samples in a 2K environment and had no
trouble. Do other WDK samples build correctly?
That dialog box usually means that you are either trying to execute an
x64 image on an x86, trying to execute something that is not a Win32
executable but has an extension that Windows considers that of an
executable (.BAT, .COM, .EXE…), or the file itself is corrupted. Of
these, the only one that really seems even possible is the last,
assuming that the message is correct (that is, it is in the x86 folder),
and that the installation went correctly and completely, is the last
one. That being said, it isn’t very likely either, so I’m probably
missing something. Try switching to the folder indicated and executing
BUILD.EXE itself. If it doesn’t work, I would reinstall the WDK.
I think, but am not sure, that have also seen that message in cases
where a dependency is missing. I just checked x86\Build.EXE on my
machine, and noticed that it imports MSVCRT among other things (such as
NTDLL, which is curious). I have no idea whether this is your problem
or not, but, I’ve those horrible assemblies under the
Windows\WinSXS folder do stuff like this. I really hate those things.
Build does import, very indirectly, GDIPlus, which is a SAS (you can see
this using Depends). If you’re really desperate and bored, try
executing BUILD under WinDbg and see what you get.
All in all I would reinstall the WDK, unless you have a better idea,
which there must be.
MM
As far as the symbols go, I really don’t know the answer to this, as
>> xxxxx@yahoo.com 2006-09-09 22:42 >>>
I try to build the WDF samples using build.exe -ceZ in a Windows 2000
checked (or free for that matter) environment under the WDK RC1 (5600).
I get the following message in a modal error box:
C:WinDDK\5600\bin\x86\build.exe not a valid Win32 Application
I can’t go further after that error.
All I want out of this is to use KMDF 1.5. could I copy the library
files over to the WDF 1.1 stuff that does work and link with those and
make sure I use the 1.5 co-installer from the 5600 subdirectory?
I also noticed there are no symbols for 1.5 under the 5600 directory.
Is this coming off of the symbol server now since it is a release
candidate or are they not yet available? This
machine is a dual P3 running Windows 2K SP4.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer