I´m in a hurry.
I made a console program using ndisapi.h for filter DNS petitions to a especific URLS, and all work OK.
But now, I need to make the same program in a DLL for use with a Windows Service, this service is programed in C# and the idea is convert the console program to a DLL for use on the service, but i have this error:
Error 5 error LNK2019: símbolo externo “public: __thiscall CNdisApi::CNdisApi(wchar_t const *)” (??0CNdisApi@@$$FQAE@PB_W@Z) sin resolver al que se hace referencia en la función “int __cdecl main(int,char * *)” (?main@@$$HYAHHPAPAD@Z) Sniffer.obj CppSQLiteDemoExt
I try
#pragma comment(lib, “ndisapi.lib”)
start the project fron the beginning,
recompile ndisapi…
Somebody know what is happend??
I´m working with Visual Studio 2008.
Thanks!!