Ftp_Connection.CreateInstance takes too long to load

Hello,

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

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

Ftp_Connection.CreateInstance(__uuidof(FTPConnectionMTA));

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.

Thanks

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.

Regards,
Mat