How can I get a list of my adapters? I know the function PacketGetAdapterNames gives me all the adapters on my computers, but how do I show information about them in a Visual C++ program? Functions like wprintf(L"\n%d- %s\n",i+1,AdapterList[i]) (output = 7) and printf("\n%d- %s\n",i+1,AdapterList[i]) (error when running) can't be used to put a CString in a list or in a messagebox! The compiler says: left of '.SymbolicLink' must have class/struct/union type, when I use the SymbolicLink part of the adapters. In my program I want to show info about the available adapters in a list and let the user select one. I'm sure this is done before in Visual C++, so if somebody knows how I could do that or knows where I can find code that does that, let me know. Thank U

Reply via email to