Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7194085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:18:01+00:00 2026-05-28T20:18:01+00:00

I’m having a bit of trouble including headers from Windows Driver Kit to Visual

  • 0

I’m having a bit of trouble including headers from Windows Driver Kit to Visual Studio 2010. Can anyone help me, what I am doing wrong?

I get error message such as C1083: Cannot open include file: ‘sal.h’: No such file or directory.
If I include SDK directory, I get error messages such as type redefinitions.
If I copy sal.h to DDK directory, I get error message C1083: Cannot open include file: ‘codeanalysis\sourceannotations.h’: No such file or directory.
If I copy sourceannotations.h file to DDK directory I get other error messages (see below)

VC++ Directoy settings: include directory settings

#include "stdafx.h"


#include <Winsock2.h>
#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include <strsafe.h>
#include <fwpmu.h>
#include <ndis.h>

Error   1   error C1083: Cannot open include file: 'codeanalysis\sourceannotations.h': No such file or directory    c:\winddk\7600.16385.1\inc\crt\sal.h    160 1   wfp
2   IntelliSense: cannot open source file "codeanalysis\sourceannotations.h"    c:\winddk\7600.16385.1\inc\crt\sal.h    160 1   
21  IntelliSense: cannot overload functions distinguished by return type alone  c:\winddk\7600.16385.1\inc\ddk\ntddk.h  2895    1   
22  IntelliSense: cannot overload functions distinguished by return type alone  c:\winddk\7600.16385.1\inc\ddk\ntddk.h  2907    1   
23  IntelliSense: cannot overload functions distinguished by return type alone  c:\winddk\7600.16385.1\inc\ddk\ntddk.h  2917    1   
8   IntelliSense: expected a ')'    c:\winddk\7600.16385.1\inc\api\fwptypes.h   345 49  
6   IntelliSense: expected a ';'    c:\winddk\7600.16385.1\inc\api\fwptypes.h   281 4   
9   IntelliSense: expected a ';'    c:\winddk\7600.16385.1\inc\api\fwptypes.h   364 1   
11  IntelliSense: expected a ';'    c:\winddk\7600.16385.1\inc\api\iketypes.h   370 1   
16  IntelliSense: expected a ';'    c:\winddk\7600.16385.1\inc\ddk\wdm.h    8838    1   
25  IntelliSense: expected a declaration    c:\winddk\7600.16385.1\inc\ddk\ntddk.h  15056   5   
4   IntelliSense: expected a type specifier c:\winddk\7600.16385.1\inc\api\fwptypes.h   275 18  
3   IntelliSense: expected an identifier    c:\winddk\7600.16385.1\inc\api\fwptypes.h   275 5   
7   IntelliSense: expected an identifier    c:\winddk\7600.16385.1\inc\api\fwptypes.h   345 5   
10  IntelliSense: expected an identifier    c:\winddk\7600.16385.1\inc\api\iketypes.h   369 2   
18  IntelliSense: expected an identifier    c:\winddk\7600.16385.1\inc\ddk\wdm.h    17964   1   
19  IntelliSense: expected an identifier    c:\winddk\7600.16385.1\inc\ddk\wdm.h    17970   9   
24  IntelliSense: expected an identifier    c:\winddk\7600.16385.1\inc\ddk\ntddk.h  15037   3   
14  IntelliSense: identifier "FWP_FILTER_ENUM_TYPE" is undefined    c:\winddk\7600.16385.1\inc\api\fwpmtypes.h  413 5   
12  IntelliSense: identifier "IKEEXT_IP_VERSION_SPECIFIC_KEYMODULE_STATISTICS0" is undefined    c:\winddk\7600.16385.1\inc\api\iketypes.h   418 5   
13  IntelliSense: identifier "IKEEXT_IP_VERSION_SPECIFIC_KEYMODULE_STATISTICS0" is undefined    c:\winddk\7600.16385.1\inc\api\iketypes.h   419 5   
20  IntelliSense: identifier "PCALLBACK_FUNCTION" is undefined  c:\winddk\7600.16385.1\inc\ddk\wdm.h    17994   10  
17  IntelliSense: identifier "TIME_FIELDS" is undefined c:\winddk\7600.16385.1\inc\ddk\wdm.h    9012    9   
15  IntelliSense: this declaration has no storage class or type specifier   c:\winddk\7600.16385.1\inc\ddk\wdm.h    8837    1   
5   IntelliSense: unexpected parenthesis after declaration of function "<error>" (malformed parameter list or invalid initializer?) c:\winddk\7600.16385.1\inc\api\fwptypes.h   278 4   
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:18:02+00:00Added an answer on May 28, 2026 at 8:18 pm

    You cant’ mix the headers from the SDK with the ones from the DDK.

    So uncheck the box for inheriting parent settings. May then you have to add other directories from the DDK.

    Also note that you also can’t mix libraries from the DDK with the ones from the SDK. So you have to do there almost the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
Does anyone know how can I replace this 2 symbol below from the string
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am currently running into a problem where an element is coming back from
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I need to clean up various Word 'smart' characters in user input, including but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.