Topic "TLB properties and methods."

Author Message
starf
[View user's profile]

Joined: 2013-04-17
Posts: 5
Hi everybody,

I'm using successfully WinSCP 5.1.4 in a VB prog, with COM access.

The point is that the tlb contains no description for properties nor methods (only classes exists), so I'm blind typing the method calls...

Is this normal ?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
WinSCP .NET assembly uses IDispatch, that's why probably.
_________________
Martin Prikryl
starf
[View user's profile]

Joined: 2013-04-17
Posts: 5
Hi Martin,

I'm not very familiar with that stuff, but after poking arround, it looks like that in order to be visible to COM clients, explicit interfaces must be implemented.

I noticed that the only "things" that are exposed in the tlb (except class names and enums), are the 3 Session events (Failed, FileTransfered and OutputDataReceived), and they correspond to the only explicit interface in the .Net dll.

So, maybe, it'll be enough to create ad hoc interfaces, one for each class exposed by the dll...


Thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
starf wrote:
So, maybe, it'll be enough to create ad hoc interfaces, one for each class exposed by the dll...

I'm trying to avid this. Otherwise I would have to version the interface, when adding new features in future releases.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License