Could not instantiate ActiveX control (General questions)
Hey folks, hope I can get some help here. I have written a multi-threaded windows forms application that uses the AxwodSFTPLib.AxwodSFTP object. Once I got the form working the way I wanted I tried to turn it into a service that is able to interact with the desktop. It compiles fine, and there are no hinks when it tries to install as a service. However, the moment I try to start the service, the form containing the SFTP component will not initialize and I get the following error:
Could not instantiate ActiveX control {(the ActiveX guid)} because the current thread is not in a single-threaded apartment.
Any help is appreciated,
Ben ROberts
Complete thread:
- Could not instantiate ActiveX control - sucrerey, 2005-01-19, 21:18
- Re: Could not instantiate ActiveX control - wodSupport, 2005-01-19, 21:23
- Re: Could not instantiate ActiveX control - sucrerey, 2005-01-19, 21:59
- Re: Could not instantiate ActiveX control - wodSupport, 2005-01-19, 22:06
- Re: Could not instantiate ActiveX control - sucrerey, 2005-01-19, 21:59
- Re: Could not instantiate ActiveX control - wodSupport, 2005-01-19, 21:23