fluentscheduler / FluentScheduler

Automated job scheduler with fluent interface for the .NET platform.
Other
2.68k stars 409 forks source link

ActiveX controls and FluentScheduler throws an exception #262

Closed ricpersi closed 4 years ago

ricpersi commented 4 years ago

Trying to schedule a job which loads an ActiveX Objects I get: ActiveX control [ActiveX Object] cannot be instantiated because the current thread is not in a single-threaded apartment

I found a similar question on S.O.:

https://stackoverflow.com/questions/55374569/how-use-fluentscheduler-with-activex-in-single-threaded-apartment

Any advice on this?

tallesl commented 4 years ago

Sorry for the trouble, but do you mind commenting on #272?

Thanks!