Topic "No methods present in tlb/ocx component"

Author Message
[View user's profile]

Joined: 2016-05-19
Posts: 1
Location: Den Bosch, Netherlands
I want to use WinSCP in my C++ Builder XE2 project by using COM interop. Therefore I registered the latest WinSCPnet.dll as is explained in readme_automation.txt. That gives me a .tlb-file which I can use in C++ Builder.
In C++ Builder I use 'Import Component' - 'Import a Type Library' and going through all the steps in the Wizard including 'Generate Component Wrappers'.
Finally putting it all in a new Package. It compiles good but when I look in the generated code there are no methods for the classes available. (See attached zip-file).
What am I doing wrong? (24.24 KB) [Download]

Description: (none)

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27086
Location: Prague, Czechia
I have no experience with that.

Though the problem can be that the library uses late binding, because it is primarily intended to be used from scripting languages.

See a comment for ClassInterfaceType.AutoDispatch

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License