Ftp_Connection.CreateInstance takes too long to load


I am using the library version but plan to upgrade as soon as the 2.0 is released.

Debugging my program I noticed that this call (C++):


Takes too long. Sometimes two or three seconds.

Is that normal?
Is it fixed in the new version?

I also noticed that it happens the same thing in the Win32 sample that comes with the library installer.


Hello carlos ...

I do not see such a problem. Creating a COM object is generally not so cheap. First the system has to lookup the CLSID in the registry. Then it loads the .dll and at the end creates object through the factory method. On a modern system this shouldn't take seconds though.

Maybe try it with the latest 1.5 version first.