SolidWorks PDM API - handle a window in different thread

Hi All,
I’m new here.
Any one handled window in a separate thread at PDM API?
To make a window responsive and interactive.
I tried with “Dispatcher.BeginInvoke”. But I’m not sure that’s a correct method or not.


Winforms, WPF?

If Winforms, you use Control.InvokeRequired and Control.Invoke

For WPF, you need to use Application.Current.Dispatcher.Invoke.

1 Like