MainBarManager [STAThread]

Why if i delete the [STAThread] before the static void Main function, in debuger mode (only), there is an exception error when the form instantiates the MainBarManager ? TargetException thanks

1 Reply

RP Ramesh Praveen Syncfusion Team May 13, 2003 12:29 PM UTC

This is becuase whenever you use Ole Drag and Drop (the menus use this) it is required that your app run in a STAThread. Regards, Praveen

Loader.
Up arrow icon