From: Neal R. <ne...@ri...> - 2004-06-21 20:44:17
|
On Mon, 21 Jun 2004 ka...@ga... 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 |