Thanx alot dear. This solved my problem at last

On Mon, Apr 19, 2010 at 12:02 PM, Tor Lillqvist <> wrote:
If you have a look inside the iphlpapi.h header included with MinGW,
you will notice that at least some of the identifiers you try to use
are surrounded by #if (_WIN32_WINNT >= 0x0501) . Thus you need to do
define _WIN32_WINNT as 0x0501 before including the headers in
question. Either with a #define or on the command line with -D. This
means that the resulting code won't run on anything older than Windows
XP I guess.


Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
MinGW-users mailing list

This list observes the Etiquette found at
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:

Yasir Majeed
Ph.D scholar
Center of Research in Networks and Telecommunication (CoReNeT)
Mohammad Ali Jinnah University Islamabad, Pakistan