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