Re: [Mingw-users] windows.h dependency
- Date: Sun, 03 Feb 2008 17:27:42 +0200
- From: Roumen Petrov <bugtrack@xxxxxxxxxxxxxxxxx>
- Subject: Re: [Mingw-users] windows.h dependency
NightStrike wrote:
> On 2/3/08, Tor Lillqvist <tml@xxxxxx> wrote:
>
>> Is this how you approach programming in general? Just randomly try
>> things without looking at recommended practice or code samples. I very
>>
>
> Yet another reason why of all the mailing lists I'm on, this one is
> the absolute worst......
>
>
>> All the above just IMHO, of course.
>>
>
> Yes, humble indeed. Did you humbly read the rest of the thread, or
> humbly ignore it?
>
As is pointed before a program may include other header first that
include windows.h.
For sockets in particular it is winsock2.h or ws2tcpip.h for winsock 2.
If program include windows.h first the result is winsock 1.1.
Mingw w32api must not resolve this.
Roumen
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users