Thanx alot dear. This solved my problem at last

On Mon, Apr 19, 2010 at 12:02 PM, Tor Lillqvist <tml@iki.fi> 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.

--tml

------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
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:
https://lists.sourceforge.net/lists/listinfo/mingw-users



--
Yasir Majeed
Ph.D scholar
Center of Research in Networks and Telecommunication (CoReNeT)
www.corenet.org.pk
Mohammad Ali Jinnah University Islamabad, Pakistan
+923335935382