that kind of errors occurs in c/c++ when a library is missing, by default, the sample projects add this library references, maybe you get off this library reference. try this:
find in samples the requiered library:
WinpkFilterkernelbindlli386ndisapi.lib
then link to your source code in this way,
#pragma comment(lib,”WinpkFilterkernelbindlli386ndisapi.lib”)
use your real paths to ndisapi.lib,
try this, or in project settings add the library reference, is the same but in two diferent ways..
bye.