ExternalParser.cc on win32

[email protected]
Newsgroups gmane.comp.web.htdig.devel
Message-ID <[email protected]>
Hello,

While compiling htdig 3.2.0b5 on win 32 I found that method 'parse' of
class 'ExternalParser' contains line:

// NEAL - ENABLE/REWRITE THIS ASAP FOR WIN32
#ifndef _MSC_VER //_WIN32

I've made some changes to ExternalParser, to make it work under win32.
There is no need to create another process or thread to run external
parser - you can call:
FILE *input = _popen((char *)cmdline, "rb" );
that opens the pipe to read from.

I've compiled that code succesfully and run htdig with some external
parsers: antiword, xpdf and openoffice (under win2000).

-- 
Best regards,
 Karol Przybyszewski





-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
ht://Dig Developer mailing list:
[email protected]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.