When I try to integrate a WPF control library in a WF code activity object I get the exception "The calling thread must be STA, because many UI components require this." Here is a snippet:
private void OpenGUI()
mainGUI = new WPFControlLibrary.UserControl_GUI();
When the mainGUI = line is executed, I get the error.
Please excuse my ignorance, I am a novice in WF and WPF.
Thanks in advance for any help.
View Complete Post