Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: delphi 10.3: COM interface --> Import type libray

WinSCP .NET assembly uses IDispatch (late binding). So it does not expose the method and property names.
tirez

delphi 10.3: COM interface --> Import type libray

Hello
When import type libray i don't find any methodo or properties.
For example TSessionOptions no find Protocol, HostName etc properties
// *********************************************************************//
  TSessionOptions = class(TOleServer)
  private
    FIntf: _SessionOptions;
    function GetDefaultInterface: _SessionOptions;
  protected
    procedure InitServerData; override;
  public
    constructor Create(AOwner: TComponent); override;
    destructor  Destroy; override;
    procedure Connect; override;
    procedure ConnectTo(svrIntf: _SessionOptions);
    procedure Disconnect; override;
    property DefaultInterface: _SessionOptions read GetDefaultInterface;
  published
  end;