Forum Replies Created
-
AuthorPosts
-
February 23, 2009 at 8:30 pm in reply to: [WinpkFilter 3.0.4.1] Failed to load helper driver (Delphi) #6744
i note that when i get the last error, it says: “the file cannot be found..”
by example try this:
// this is your real code:
#include “stdafx.h”
// include this..
#pragma comment(lib,’path to your nsdisapi.lib including ndisapi.lib’)int main(int argc, char* argv[])
{
CNdisApi api;
TCP_AdapterList AdList;
OSVERSIONINFO verInfo;…
}OR, maybe you change the calling convention on your compiler, first try this
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.
February 23, 2009 at 8:07 pm in reply to: [WinpkFilter 3.0.4.1] Failed to load helper driver (Delphi) #6743hello, yes my case is the same, i explain it:
the compiled code runs only when it is launched under console, but not if it is running under IDE enviroment,
it stops when reach isDriverLoaded fn, wich always returns false, ntapidll is always visible in path, and drivers is succesfully installed in network adapter. The code runs fine but under console. -
AuthorPosts
