Home › Forums › Discussions › Support › Error in running list › Re: Re: Error in running list
February 23, 2009 at 8:23 pm
#6780
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