Anyone,
I tried to compile the source in the MSVC directory of the trial version and I’m getting a linker mismatch problem. output from MSVC compiler is below:
PassThru.obj : error LNK2001: unresolved external symbol “__declspec(dllimport) public: __thiscall CNdisApi::CNdisApi(char const *)” (__imp_??0CNdisApi@@QAE@PBD@Z)
PassThru.obj : error LNK2001: unresolved external symbol “__declspec(dllimport) public: virtual __thiscall CNdisApi::~CNdisApi(void)” (__imp_??1CNdisApi@@UAE@XZ)
PassThru.obj : error LNK2001: unresolved external symbol “__declspec(dllimport) public: int __thiscall CNdisApi::FlushAdapterPacketQueue(void *)” (__imp_?FlushAdapterPacketQueue@CNdisApi@@QAEHPAX@Z)
PassThru.obj : error LNK2001: unresolved external symbol “__declspec(dllimport) public: int __thiscall CNdisApi::SetAdapterMode(struct _ADAPTER_MODE *)” (__imp_?SetAdapterMode@CNdisApi@@QAEHPAU_ADAPTER_MODE@@@Z)
PassThru.obj : error LNK2001: unresolved external symbol “__declspec(dllimport) public: int __thiscall CNdisApi::SetPacketEvent(void *,void *)” (__imp_?SetPacketEvent@CNdisApi@@QAEHPAX0@Z)
PassThru.obj : error LNK2001: unresolved external symbol “__declspec(dllimport) public: int __thiscall CNdisApi::SendPacketToMstcp(struct _ETH_REQUEST *)” (__imp_?SendPacketToMstcp@CNdisApi@@QAEHPAU_ETH_REQUEST@@@Z)
PassThru.obj : error LNK2001: unresolved external symbol “__declspec(dllimport) public: int __thiscall CNdisApi::SendPacketToAdapter(struct _ETH_REQUEST *)” (__imp_?SendPacketToAdapter@CNdisApi@@QAEHPAU_ETH_REQUEST@@@Z)
PassThru.obj : error LNK2001: unresolved external symbol “__declspec(dllimport) public: int __thiscall CNdisApi::ReadPacket(struct _ETH_REQUEST *)” (__imp_?ReadPacket@CNdisApi@@QAEHPAU_ETH_REQUEST@@@Z)
PassThru.obj : error LNK2001: unresolved external symbol “__declspec(dllimport) public: int __thiscall CNdisApi::GetTcpipBoundAdaptersInfo(struct _TCP_AdapterList *)” (__imp_?GetTcpipBoundAdaptersInfo@CNdisApi@@QAEHPAU_TCP_AdapterList@@@Z)
PassThru.obj : error LNK2001: unresolved external symbol “__declspec(dllimport) public: int __thiscall CNdisApi::IsDriverLoaded(void)” (__imp_?IsDriverLoaded@CNdisApi@@QAEHXZ)
Debug/PassThru.exe : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.
PassThru.exe – 11 error(s), 0 warning(s)
Does anyone know what’s missing/wrong? Thank you already.