Wrap the core. Functions in a try statement, you're probably getting an error. Used to be datacore would fire an event called ErrorOccured but it was coded out and now Datacore will throw specific exceptions.
try { /*core.function goes in here*/ }
catch (Exception ex) { Message box.Show(ex.Message, "DataCore Exception", MessageBoxButtons.OK }
P.s. DataCore is not multithreaded by nature so if you issue long polling function requests get ready for your front end to lock up until the function exits. I suggest you look into the TASK api:
Code:
using System.Threading.Tasks;
void async method()
{
await Task.Run(() => {
core.Load(path);
core.ImportFileEntry(arg, arg); });
}
Also remember if you don't properly subscribe to events you won't get progress or status updates from DataCore.
(Sorry for weirdness wrote this on mobile omw to work)