On Tue, Sep 24, 2002 at 11:18:14AM +0200, Martin Wilck wrote:
> Am Die, 2002-09-24 um 10.55 schrieb Martin Wilck:
> 
> I forgot one:
> 
> There are planse to convert the HANDLE type to void* throughout wine.
> http://bugs.winehq.com/long_list.cgi?buglist=90
Yes, i'm slowly working on that. HANDLE will be the last one to be
changed and i hope to have it finished at the end of the year.

> If this happens, Winsock needs to be adapted, too. Under Windows, SOCKET
> is an int type and HANDLE is void*, nevertheless it is legal to pass
> SOCKETs to functions such as WriteFile() expecting HANDLERs. 
> 
> I am uncertain how to do The Right Thing (tm) for Winsock here. 
Simple, just cast it to HANDLE. I suspect this what you need to do on
Windows too, especialy when using C++.

bye
        michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
System Administration           Fax.: +49-711-96437-111
Red Hat GmbH                    Email: [EMAIL PROTECTED]
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart

Attachment: msg11934/pgp00000.pgp
Description: PGP signature

Reply via email to