TOPIC: ISpell spellchecker interface to Suneido
#928
ISpell spellchecker interface to Suneido 3 Years, 1 Month ago
Hi Andrew:
If you can accept

1) ISpell
http://www.luziusschneider.com/Speller/English/index.htm

2) 410KB DLL stuff

then we have a very good chance to implement Suneido spell-checking very soon.;)

What do you think ?
 
 
#929
Re:ISpell spellchecker interface to Suneido 3 Years, 1 Month ago
Seems ok to me. I assume we would also need the dictionary as well as the dll?

Do you know what their installer does? For our customers it would be best if we did not have to run an installer on each workstation. Is it possible to just copy the dll and the dictionary?

I do not see any documentation on the web site. What is required to interface with it?
 
 
andrew
 
#931
Re:ISpell spellchecker interface to Suneido 3 Years, 1 Month ago
andrew wrote:
Seems ok to me. I assume we would also need the dictionary as well as the dll?

Yes.


Do you know what their installer does? For our customers it would be best if we did not have to run an installer on each workstation. Is it possible to just copy the dll and the dictionary?

Yes. Also some command line tools are required.


I do not see any documentation on the web site. What is required to interface with it?

The DLL which is required to use the ISpell dictionaries is written by a french collegue off mine in Object Pascal. (Freeware)
The DLL functions are simple. From Suneido all you need are the following datatypes [in] string, string, long, bool.
The annoying thing is that you have to use Pascal strings / means instead of "hello" you have to pass "5hello"

A small example from the the system I use :
Code:


// Is Word in Dictinonary
CallDLL32("Dico.dll","Get_Word_OK",Dico_StMot,&Dico_MotOK)

// Get Worldlist in Dico_StRet
IF Dico_MotOK = 0 THEN
    CallDLL32("Dico.dll","Get_Word_Corrige",Dico_StMot,&Dico_StRet)
/*
in Suneido (long time ago that I have programmed in Suneido)
you can replace CallDLL32 stuff with :
*/
dll void Dico:Get_Word_OK( [in] string Dico_StMot, long Dico_MotOk)
// I hope you know what I mean




We have about 8 DLL function we have to call from Suneido to init and query the dictionary as well as adding new words.

I have to make some slight modifications to the DLL sources because f.i. the dictionary directory is hardwired. (may take a while because I can not find the sources at the moment :( )
Okay; If you like can send you the Dll by email including a interface desciption and install infos.


A bit off topic : Of course it is quit easy to use the MS Word spellchecker through the COM interface.

Post edited by: nana, at: 2007/06/30 12:45

Post edited by: nana, at: 2007/06/30 12:47
 
 
#932
Re:ISpell spellchecker interface to Suneido 3 Years, 1 Month ago
That sounds great - thanks!

Then we can work on an interface with the Scintilla control to do "real time" checking and mark mistakes with red underline. The challenge will be to not slow down text entry too much.
 
 
andrew