This project is read-only.

Library Use Question

Topics: Developer Forum
Sep 8, 2006 at 9:19 AM
My current thinking has a Component (think WinForms Timer) that plays nice with standard WinForms projects if the user changes the way the application starts up (modifies Main).

The rest of the library expects an MTA thread and that COM security is already set up.

If you're not interested in MTA/COM/other issues, just use the Component on your Form and write code against it (all STA/MTA switching is done for you).

If you're willing to deal with the MTA/COM implications yourself, use the rest of the library directly.


Is a modified Main method too much to ask?
What is the alternative? An out-of-process call to ensure our code has its own way with COM?

- Anton