Message 2 of 2
02 Mar 18 14:14
Join Date: 28 Jan 2005
Posts To This List: 12065
cannot open source file "excpt.h"
> i am trying to compile old WDM driver using KMDF driver template in Visual
> driver write for WinDDK 7600.16385.1 and compile on it with no problem
> but i want to compile it in Driver Kit version 10
> i include C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km
folder in project's Additional Include Directories but i get below error
You should not need to do that.Â The template will add the necessary
include folders to the project.Â Besides, that file is in km\crt, not in km.
When you changed the include directories, did you do it through the IDE,
or by editing the project file?Â When editing the project file, you have
to remember to include the old directories, like this:
Â Â Â Â Â
If you do this, you wipe out whatever include directories were there
Â Â Â Â Â
> Severity Code Description Project File Line Suppression State
> Error C1083 Cannot open include file: 'excpt.h': No such file or
directory ProcessPathFinderDriver C:\Program Files (x86)\Windows
At the moment, I'm a little confused about why this works for me.Â If I
look at the tlog file to check the "cl" command, it is only including
"km", but if I do a /P to generate the preprocessor output, it is
finding the file in km\crt.
Tim Roberts, email@example.com
Providenza & Boekelheide, Inc.