Re: ExternalParser.cc on win32

Neal Richter <[email protected]>
Newsgroups gmane.comp.web.htdig.devel
Message-ID <[email protected]>
On Mon, 21 Jun 2004 [email protected] wrote:

> 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).

  Hmmm.. interesting.  I will test that.  Please send us a patch.

  Thanks!

Neal Richter
Knowledgebase Developer
RightNow Technologies, Inc.
Customer Service for Every Web Site
Office: 406-522-1485




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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.