ImageViewerControl hangs (freezes, unresponsive) the GUI for a few seconds on initialize and connect

Using SDK 2022R1 32bit with C#/dotnet

When I call imageViewerControl.initialize, the GUI hangs for about a second, and connect hangs for about 3 seconds. I have not found a way to create the control on other than the GUI thread, and calling from a non-GUI thread results in a cross-thread exception.

How can I use ImageViewerControl without locking up the GUI for so long? Is there a way to make these calls asynchronously?

I could turn off all cross-thread exceptions, but that seems untenable and asking for trouble.

You are absolutely correct that you cannot do this outside the UI thread, you must use the UI thread. There is currently no support for asynchronously calling this.