Skip to main content.
home | support | download

Back to List Archive

functions

From: maildofernando <maildofernando(at)not-real.bol.com.br>
Date: Mon Mar 11 2002 - 18:57:47 GMT
Hello,

It forgives for the confusion that I made in the 
previous email I have difficulties in sending
questions therefore I don´t speak English. 

   1- I want to know which function of libswish.lib 
returns a structure or one param where it has 
the path of the archive.
(word = "status" / result = "d:\FOLDER\arqstatus.txt").

Example in the MS-DOS:
_________________________________________________________
> D:\SWISH-E#1>swish-e -w status

> # SWISH format: 2.1-dev-25
> # Search words: status
> # Number of hits: 3
> # Search time: 0.010 seconds
> # Run time: 0.051 seconds

> 100 d:\WINNT\Text\TELEW2.rtf  "TELEW2.RTF" 8314
> 933 d:\WINNT\Text\Abert.txt "Abert.txt" 17532
> 933 d:\WINNT\Text\Abert.rtf "Abert.rtf" 19062
_________________________________________________________

comparing the case above with `libswishe.lib`:

> shandle = SwishOpen(index.swish-e);
> result = SwishSearch(shandle, "status", 1, NULL, NULL);

"result" is the "# number of hits: 3"

   I need to catch path of the archive 
("1000 d:\WINNT\Text\TELEW2.RTF "TELEW2.RTF" 8314").
Which function that I have that to use?

   2-where struct SWISH is declared?

Thanks

Fernando S. A.



 
__________________________________________________________________________
Quer ter seu próprio endereço na Internet?
Garanta já o seu e ainda ganhe cinco e-mails personalizados.
DomíniosBOL - http://dominios.bol.com.br
Received on Mon Mar 11 19:04:01 2002