W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1996

Re: Solution to file:// in lib

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Tue, 26 Mar 1996 15:59:03 -0500
Message-Id: <9603262059.AA12013@www20>
To: Jiang Tao <jiangt@ceci.mit.edu>
Cc: W3C Lib <www-lib@w3.org>
Jiang Tao writes:
> Now I have found the solution to the problem I mentioned
> yesterday.
> Problem is: I can not use file:// with lib to open local
> file on NT.
> Reason: As the lib is compiled with a set of DLLs, and
> on NT, the functions fopen(), fread() and fclose() for
> the same file must be in the same DLL (someone has mentioned it). 
> Now fopen() and fread() are in wwwcore.dll while fclose() is in
> wwwfile.dll. 
> solution: add a hack function for fclose() to wwwcore.

Good! Yes - that is a problem (or a bug) in DLLs. I am currently working on 
separating the transport layer from the protocol modules so that you can 
register the best way of communicating for example with your local file system 
instead of using the hard coded Unix file descriptors or ANSI file descriptors.

This also means that you for example easily can start experimenting with other 
transports like for example UDP.


Henrik Frystyk Nielsen, <frystyk@w3.org>
World-Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA
Received on Tuesday, 26 March 1996 15:59:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:46 UTC