This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Using TWIN Win32 headers


Mumit Khan wrote:
> 
> Has anyone looked at TWIN LGPL'd headers (http://www.willows.com/)
> in detail to see if these are usable for GNU-Win32?
> 

No, I think they are not. A lot of ANSI/UNICODE stuff is missing
(for example the CreateWindowEx API is defined as UINT WINAPI CreateWindowEx(..)
instead of the CreateWindowExA/CreateWindowExW pair) so that the linker
cannot resolve many functions. Some macros (__stdcall!) are redefined in the
headers causing the compiler to not use the stdcall convention, winsock.h
assumes the existence of netinet/in.h, sys/socket.h and sys/ioctl.h.
It would require some work to get these headers working with gnu-win32.


Gunther
-- 

Gunther Ebert
iXOS Anwendungs-Software GmbH
Angerstrasse 40-42
D-04177 Leipzig

Phone : +49 341 48503-0
Fax   : +49 341 48503-99
E-mail: mailto:gunther.ebert@ixos-leipzig.de
www   : http://www.ixos-leipzig.de
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]