public void Create() { CheckDisposed(); // Text segment, gets advanced through the text. bool fOk = false; try { SCTextSegment scTextSegment = new SCTextSegmentClass(); // If we come so far, object creation worked fOk = true; } catch { } Assert.IsTrue(fOk, "Can't create SCTextSegment object. Adjust the registry key " + @"'HKEY_LOCAL_MACHINE\SOFTWARE\ScrChecks\1.0\Settings_Directory'"); }
public void Create() { CheckDisposed(); // Text segment, gets advanced through the text. bool fOk = false; try { SCTextSegment scTextSegment = new SCTextSegmentClass(); // If we come so far, object creation worked fOk = true; } catch { } Assert.IsTrue(fOk, "Can't create SCTextSegment object. Adjust the registry key " + @"'HKEY_LOCAL_MACHINE\SOFTWARE\ScrChecks\1.0\Settings_Directory'"); }