Hi, I've tried using a modeless window in a different thread, but it seems that it doesn't sit well with EA. I've also tried the backgroundworker on the progress dialog and that failed. Although I'm now thinking I read something about TLS being different in .NET nowadays. My .NET knowledgde is a little dated, say .NET 2.0, so probably the problem lies there.
I was hoping someone had a working example I could adapt.
It's not that long, max is around 2 mins, but since EA 12 I've noticed that the GUI 'jumps' a little after about 10 secs or so. And seeing there's no visual clue things are going well, I'd like to have something there.
SQL might be an option, but at this point, the API seems fine. I can't find any documentation on what you can and cannot do in a thread. So I could simply move the processing to a dialog, which feels wrong, make a complex dialog (something like a wizard), which is a lot of work for a simple task and I've even been thinking to simply not make an add-in, but write a standalone program. The latter would be a lot of work, and again, don't feel really validated in this case.
I'd like it to be C# and .NET, as those are the ones I'm most familiar with, albeit from some time ago. As most repositories I have are either eap or PostgreSQL databases, SQL seems a step too far, not wanting to have to cater for different SQL dialects (which would mean I would want to wrap the SQL dialect in a set of classes to keep it out of my functional layer).
I'll have a look and see if TLS is now separated (I remember you objects being shared across threads and writing code to prevent accessing members from different threads at the same time).