• The move is TARGETED for 19 September 2018
  • The new URL for the community will be community.osr.com
  • There will be a new email address for those who contribute via email
  • More detailed information, and updates, can be found at the OSR Developer's Blog
Questions/problems/issues may be addressed to the CommunityMove alias at OSR.COM.

OSR Seminars


Go Back   OSR Online Lists > ntdev
Welcome, Guest
Posting to the list has been temporarily disabled
  Message 1 of 2  
02 Mar 18 08:16
Amin Mohammadi
xxxxxx@gmail.com
Join Date: 06 Jan 2016
Posts To This List: 7
cannot open source file "excpt.h"

i am trying to compile old WDM driver using KMDF driver template in Visual studio 2015 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 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 Kits\10\Include\10.0.10586.0\km\wdm.h 56
  Message 2 of 2  
02 Mar 18 14:14
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 12065
cannot open source file "excpt.h"

xxxxx@gmail.com wrote: > i am trying to compile old WDM driver using KMDF driver template in Visual studio 2015 > 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:       <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);../ Include</AdditionalIncludeDirectories> If you do this, you wipe out whatever include directories were there previously:       <AdditionalIncludeDirectories>$(DDK_INC_PATH);../Include</AdditionalIncludeDirect ories> > 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 Kits\10\Include\10.0.10586.0\km\wdm.h 56 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, xxxxx@probo.com Providenza & Boekelheide, Inc.
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
Posting to the list has been temporarily disabled.

All times are GMT -5. The time now is 16:25.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license