W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1999

HTPutDocumentAnchor on Windows

From: Richard Krenek <rkrenek@ihs.com>
Date: Thu, 04 Nov 1999 11:34:33 -0700
Message-ID: <3821D1B9.845CE08E@ihs.com>
To: www-lib@w3.org
Hello All,
    I'm trying to run the below command which keeps returning 'NO'. It
works fine on a Unix platform
but returns 'NO' when on windows.

char * local_filename_to_send = "c:\\temp\\somefile.tif";
char * full_src_str = HTParse(local_filename_to_send, cwd, PARSE_ALL);
HTAnchor * src = src = HTAnchor_findAddress(full_src_str);
HTAnchor_setLength(HTAnchor_parent(src), len);
BOOL st = HTPutDocumentAnchor(HTAnchor_parent(src), dst, request);

The dst is a valid URI and the file to send is valid. We tried the
slashes in the file name as \\ and /, neither worked. Has anyone else
had simular problems or know what I may be doing wrong or need to
change? Anything would be helpful.

Richard Krenek
Received on Thursday, 4 November 1999 13:26:55 UTC

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