Reply To: TCP/IP Hook – Traffic observing for all IP’s

Home Forums Discussions General TCP/IP Hook – Traffic observing for all IP’s Reply To: TCP/IP Hook – Traffic observing for all IP’s

#6393
kf
Participant

    I tried to compile the MVC++ Sample Source-Code:

    But i still geht current error:


    1>Compiling...
    1>PacketSniffer.cpp
    1>StdAfx.cpp
    1>Generating Code...
    1>Compiling manifest to resources...
    1>Linking...
    1>PacketSniffer.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CNdisApi::CNdisApi(wchar_t const *)" (__imp_??0CNdisApi@@QAE@PB_W@Z) referenced in function "void __cdecl `dynamic initializer for 'api''(void)" (??__Eapi@@YAXXZ)

    I’ve added the ndisapi.lib and the DLL is in the right directory 🙄

    PS: I solved that problem – you have to change the “Character Set” in the project settings. 🙂