I'm having trouble implementing the international dictionaries into my application.
I create a simple app that has a reference to the .NET 2.0 version of c1Spell (2.2.20073.78).
I then do the following (as a test in a test application):
Dim b As New C1.Win.C1Spell.C1Spell()
b.MainDictFile = "C:\Program Files\ComponentOne Studio.NET 2.0\bin\Dictionaries\C1Spell_de-DE.dct"
b.IsOptionSettingFixed = False
Dim c as boolean = b.CheckString("TEST")
When it executes the 'CheckString' function, it errors out:
System.IndexOutOfRangeException was caught
Message="Index was outside the bounds of the array."
Source="C1.Win.C1Spell.2"
StackTrace:
at C1.Win.C1Spell.C1SpellBase.h.a(Byte[] A_0, Int64 A_1)
at C1.Win.C1Spell.C1SpellBase.h.a(Int64 A_0, Boolean A_1, String& A_2)
at C1.Win.C1Spell.C1SpellBase.h.a()
at C1.Win.C1Spell.C1SpellBase.h.b()
at C1.Win.C1Spell.C1SpellBase.b.k()
at C1.Win.C1Spell.C1Spell.c()
at C1.Win.C1Spell.C1Spell.a(String A_0)
at C1.Win.C1Spell.C1Spell.CheckHTMLString(String htmlStr)
at Ungerboeck.EBMS.weaNote.CheckSpelling(Boolean ablnAutoCheck) in Data\Temporary Projects\WindowsApplication1\Form1.vb:line 12
Is this a known issue, or do I need to set a few more properties?
Thanks