I got the error as shown below when running sqk on a win 11 laptop with word file containing 529 pages, 8MB in size and running for about 30 minutes then ending with an error.
image.png (25.8 KB)
image.png (3.1 KB)
This is Device specifications and Windows specifications
image.png (17.9 KB)
My code
static void Main(string[] args)
{
Logger logger = new Logger("LogFile_Console");
Stopwatch stopwatch = new Stopwatch();
Console.WriteLine("Start comparing...");
stopwatch.Start();
string licensePath = @"C:\Users\TrucNV\Downloads\ConsoleApp_GroupDocs\ConsoleApp_GroupDocs\ConsoleApp_GroupDocs\GroupDocs.Comparison.NET.lic";
License license = new License();
license.SetLicense(licensePath);
using (Comparer comparer = new Comparer(@"C:\Users\TrucNV\Downloads\240719 - Copy.docm"))
{
comparer.Add(@"C:\Users\TrucNV\Downloads\241018 - Copy.docm");
CompareOptions compareOptions = new CompareOptions()
{
MarkChangedContent = true,
DetectStyleChanges = true,
ChangedItemStyle = new StyleSettings()
{
FontColor = System.Drawing.Color.Yellow,
IsUnderline = true,
//HighlightColor = System.Drawing.Color.Yellow,
},
InsertedItemStyle = new StyleSettings()
{
FontColor = System.Drawing.Color.Lime,
IsUnderline = true,
},
DeletedItemStyle = new StyleSettings()
{
FontColor = System.Drawing.Color.Red,
IsStrikethrough = true,
},
};
comparer.Compare("C:\\Users\\trucnv\\Downloads\\Trip.docx", compareOptions);
}
stopwatch.Stop();
/// Lấy thời gian đã trôi qua
TimeSpan elapsedTime = stopwatch.Elapsed;
// Hiển thị thời gian thực hiện
Console.WriteLine("Total time: " + elapsedTime.ToString());
logger.Log("Total time: " + elapsedTime.ToString());
Console.WriteLine($"Donee");
}