Skip to main content

All Questions

Tagged with
0 votes
1 answer
470 views

using STAThread on ArcFM license

I am trying to use ArcFM with my ArcGIS project, and I've noticed a bug. If my main thread is marked with the [STAThread] attribute, the program hangs on exit with the OS Loader Lock exception. When I ...
Noam Gal's user avatar
  • 3,405
0 votes
1 answer
334 views

ArcMap and BackgroundWorkerThread

I read in here I should stick with STA threads while working inside ArcMap. I was using a normal BackgroudnWorker, and my code was running really slowly. I am trying to change it so that the worker ...
Noam Gal's user avatar
  • 3,405
3 votes
4 answers
12k views

BackgroundWorker OnWorkCompleted throws cross-thread exception

I have a simple UserControl for database paging, that uses a controller to perform the actual DAL calls. I use a BackgroundWorker to perform the heavy lifting, and on the OnWorkCompleted event I re-...
Noam Gal's user avatar
  • 3,405
1 vote
3 answers
5k views

Threading and ArcGIS

I have just stumbled across the Backgroundworker object, and it seems like the tool I'm looking for to make my GUI responding while performing calculations. I am writing IO plugins for ArcGIS. I am ...
Chau's user avatar
  • 5,570