I am playing with a program that enumerates all the words contained in a Boggle game (For those who don’t know Boggle, it’s a 4X4 grid filled with lettered dice, and you have to make words from adjacent letters). I have a solution using Word and VBscript, using Word’s Application.Spellchecking method to create a list of ‘real’ words found in the grid.
I would like to create a solution outside of Word, as I suspect performance is not as good as it could be in native VB, or VC++. But I don’t know how to call a spellchecker from these environments.
The question is: Does anyone know of a spellcheck api for VB or VC++? My needs are simple–I just want to submit a word and get a true/false response to the dictionary lookup. Actually I’d be interested in knowing if this exists in _any_ language.
Thank you.