v4 on Win95

Hi,
>  I have been working with the  W3lib V4 Pre-Release is the form of 
>several DLLs, so V4 does work in Windows (both 3.1 and 95).
>
>    There are much tinkering on some of the source files though. I 
>thought I sent out some notes on porting W3Lib to Windows 
>16-bit/32-bit a few days ago but it seems that not everyone received 
>it. I'll be tidying up my notes a bit more before I sent it out again.

Yes, many thanks for that. In fact when I remove out the re-definition of :

#undef NETREAD
#undef NETWRITE

#define NETREAD(s,b,l)  ((s) >= 10) ? recv((s),(b),(l),0) : read ((s),(b), (l))
#define NETWRITE(s,b,l) ((s) >= 10) ? send((s),(b),(l),0) : write((s),(b), (l))

Then the HTTP fetch (libapp_3.c) works on win95 but also on NT (don't know
about Win32s).
I think I had the same problem than you with file I/O. If I use a
HTFWriter_new 'ed sream rather than the default one, the subsequent NETREAD
fails.
|-----------------------------------------------------------------|
| Laurent Vinesse                        |  JOUVE                 |
| Ingenieur logiciel / Software engineer |  12, rue des landelles |
| Telephone/Phone  : (+33) 99 86 98 12   |  Immeuble Hercule II   |
| Fax              : (+33) 99 86 98 01   |  35510 Cesson-Sevigne  |
| E-mail           : lvinesse@jouve.fr   |  FRANCE                |
|-----------------------------------------------------------------|



_________________________________________________________________
Tom Hughes		
wavemake@nando.net




			

Received on Thursday, 4 January 1996 08:39:29 UTC