Create a UI thread and run the backglass form from it. In .DLL mode, this should help detach the processing of the form, from the VPX scripting thread that has requested updates, which is similar to how the .EXE mode runs and allows it to be much smoother.
This was particularly noticeable when I created the B2SSetPos function that is repeatedly called within a table script, this caused spikes in the scripting engine during processing. This should now be smooth.
All other backglasses should see a performance improvement in .DLL mode with this change.
Create a UI thread and run the backglass form from it. In .DLL mode, this should help detach the processing of the form, from the VPX scripting thread that has requested updates, which is similar to how the .EXE mode runs and allows it to be much smoother.
This was particularly noticeable when I created the B2SSetPos function that is repeatedly called within a table script, this caused spikes in the scripting engine during processing. This should now be smooth.
All other backglasses should see a performance improvement in .DLL mode with this change.