Can COM work with MFC

Advertisement

lincy27
Joined:
Posts:
7

Can COM work with MFC

Can the WinSCP COM library be used with Visual studio 6.0 and 2013 (MFC dialog based application) for implementing SFTP protocol? It has to work on both Windows XP as well as Windows 7. Any suggestions?

Reply with quote E-mail

Advertisement

lincy27

Could you please throw some light on this?
I registered the WinSCPnet.dll as is explained in readme_automation.txt. That gives me a .tlb file which I can use in the Visual Studio directory. But how do you use COM component in a MFC project?? I tried importing WinSCPnet.dll in the project, but it's showing the file is binary and cannot be read. Please help.

Reply with quote E-mail

Advertisement

Guest

Hi Martin, so what would be the syntax for the Open command when IDispatch is used. Only if we know the exact syntax can we invoke the method using Invoke in IDispatch, isn't it?

Reply with quote

Advertisement

You can post new topics in this forum