jmcgill <jm*****@email.arizona.eduwrites:
goose wrote:
>IP_ADAPTER_INFO is not a known type.
DWORD? Whats that?
PIP_ADAPTER_INFO also not know at this point.
#include <windows.h>
#include <winsock2.h>
#include <stdio.h>
#include <iphlpapi.h>
I'll try to refrain from answering any more windows programming
questions from now on. Just trying to help. Sheesh :-)
Thank you. I know you're trying to help, and I can certainly
understand the temptation, but really, the best help you can offer is
to redirect the questioner to some newsgroup that's full of actual
experts on the topic. (You may be an expert on this yourself, but
most of the rest of us aren't.)
Think about it. Suppose someone posted something like this to a
Windows programming group:
I need to allocate a 3-dimensional array in my C program, with the
length of each dimension determined at run time. What's the best
way to do this? (I'm programming in Windows, but I'd like the
code to be portable to other systems.)
Which would be more helpful, answering the question yourself in the
Windows group, or telling the poster about this other newsgroup that's
chock full of C geeks who will fall over themselves to give the best
possible advice for a portable solution?
(Or you could just point to question 6.16 of the comp.lang.c FAQ, but
let's pretend that it's something the FAQ doesn't address.)
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.