Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Winternl.h

925 views
Skip to first unread message

virman...@gmail.com

unread,
Oct 3, 2005, 12:49:32 PM10/3/05
to
I was compiling a third party source code and stuck up with the
following error. The project was in VC6.

fatal error C1083: Cannot open include file: 'Winternl.h': No such file
or directory.

Where can i find "Winternl.h" file.


Sunil Virmani

Igor Tandetnik

unread,
Oct 3, 2005, 1:01:35 PM10/3/05
to
virman...@gmail.com wrote:
> Where can i find "Winternl.h" file.

Download and install the latest Platform SDK here:

http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5

--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


virman...@gmail.com

unread,
Oct 4, 2005, 5:47:33 AM10/4/05
to
Thanks .. it works... now further it is Including Shlwapi.h file here i

stuck up with the following error

i am using #define _WIN32_WINNT 0x0500 in my application.


ctAppRuleParser.cpp
F:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\Shlwapi.h(56) :
error C2146: syntax error : missing ';' before identifier
'DECLSPEC_IMPORT'
F:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\Shlwapi.h(56) :
error C2501: 'EXTERN_C' : missing storage-class or type specifiers
F:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\Shlwapi.h(56) :
fatal error C1004: unexpected end of file found
ctcapsule.cpp


How can i solve this compilation problem.


Sunil Virmani

Igor Tandetnik

unread,
Oct 4, 2005, 8:02:01 AM10/4/05
to
<virman...@gmail.com> wrote in message
news:1128419253....@g43g2000cwa.googlegroups.com

> Thanks .. it works... now further it is Including Shlwapi.h file here
> i stuck up with the following error
>
> i am using #define _WIN32_WINNT 0x0500 in my application.
>
>
> ctAppRuleParser.cpp
> F:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\Shlwapi.h(56) :
> error C2146: syntax error : missing ';' before identifier
> 'DECLSPEC_IMPORT'

Make sure you include windows.h before any other Windows headers.

0 new messages