Re: Could not instantiate ActiveX control (General questions)
ok,.. switched to COM but it now fails during InitializeComponent() on the following line:
((System.ComponentModel.ISupportInitialize)(this.axwodSFTP1)).EndInit();
I assume this is where I should use the OleInitialize but I've never done this before in .NET and I can't find anything useful in the MSDN can I get moved to the next step? Or possibly pointed to a useful article on how to do this with .NET?
Thanks In Advance,
Ben
I think first you should stop using wodSFTP.OCX, and switch to wodSFTP.DLL (COM Object) since you may have problem with licensing this way).
Anyway, what I think could solve your problem is to call OleInitialize API from within each new thread - this is a requirement I think.
BTW does this error have some error number? Which one is it?
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