Is there any developer how tried to compile an existing "old" W2K driver in
the new WDK RTM releases? I´m almost sure such a test is never made by MS ...

Somebody (MS) recompiled a part of the W2K libraries at 1/18/2008 (most of
them are created 1/3/2008). Most probably this modification mixed windows XP
libraries into the W2K set ...

error LNK2019: unresolved external symbol __imp_@InterlockedPopEntrySList@4
referenced in function _ExAllocateFromNPagedLookasideList@4
error LNK2019: unresolved external symbol __imp_@InterlockedPushEntrySList@8
referenced in function _ExFreeToNPagedLookasideList@8

The W2K drivers using the ExAllocateFromNPagedLookasideList, and
ExFreeToNPagedLookasideList (for example 4mmdat W2k driver from 2002) cannot
be linked anymore. The older WDKs (wxp and ws2003) are working.

Is there any plan to renew one time the w2k part and release a consistent
set of libraries?

Re: W2K Libraries are corrupted in the WS2008 and Vista RTM releases.. by Doron

Doron
Fri Mar 28 17:05:45 CDT 2008

add this before you include ntddk.h or wdm.h
#define _WIN2K_COMPAT_SLIST_USAGE (1)

and then you will have a win2k compatible binary

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"zszalai" <zszalai@discussions.microsoft.com> wrote in message
news:EF05B8DC-4C18-4CB6-9212-536CFB3DE7CB@microsoft.com...
> Is there any developer how tried to compile an existing "old" W2K driver
> in
> the new WDK RTM releases? I´m almost sure such a test is never made by MS
> ...
>
> Somebody (MS) recompiled a part of the W2K libraries at 1/18/2008 (most of
> them are created 1/3/2008). Most probably this modification mixed windows
> XP
> libraries into the W2K set ...
>
> error LNK2019: unresolved external symbol
> __imp_@InterlockedPopEntrySList@4
> referenced in function _ExAllocateFromNPagedLookasideList@4
> error LNK2019: unresolved external symbol
> __imp_@InterlockedPushEntrySList@8
> referenced in function _ExFreeToNPagedLookasideList@8
>
> The W2K drivers using the ExAllocateFromNPagedLookasideList, and
> ExFreeToNPagedLookasideList (for example 4mmdat W2k driver from 2002)
> cannot
> be linked anymore. The older WDKs (wxp and ws2003) are working.
>
> Is there any plan to renew one time the w2k part and release a consistent
> set of libraries?
>
>
>
>


Re: W2K Libraries are corrupted in the WS2008 and Vista RTM releases.. by Maxim

Maxim
Fri Mar 28 18:54:54 CDT 2008

Here is my patch to the SOURCES file to work this around:

!IF "$(DDK_TARGET_OS)"=="Win2K"
C_DEFINES=$(C_DEFINES) -D_WIN2K_COMPAT_SLIST_USAGE -DNTSTRSAFE_LIB
TARGETLIBS=$(TARGETLIBS) $(DDK_LIB_PATH)\int64.lib
$(DDK_LIB_PATH)\ntstrsafe.lib
!ENDIF

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"zszalai" <zszalai@discussions.microsoft.com> wrote in message
news:EF05B8DC-4C18-4CB6-9212-536CFB3DE7CB@microsoft.com...
> Is there any developer how tried to compile an existing "old" W2K driver in
> the new WDK RTM releases? I´m almost sure such a test is never made by MS ...
>
> Somebody (MS) recompiled a part of the W2K libraries at 1/18/2008 (most of