Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSSHD
- Methods
- Properties
- Events
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- IwodSSHDNotify
- Methods
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- Methods
- SSHKeyPair
- SSHUser
- SSHUsers
- How to get support
- Technical information
- Fast notifications
- Error list
Getting Started in VC
Working with the COM object
In order to insert wodSSHServer COM object in your project, follow these steps:
- Install the component on your system by starting its setup program.
- In the Visual C++ Compiler IDE, create project or open existing one.
- Recompile, and open ClassWizard
- Click on 'Add Class' button, then on 'From a type library'
- Locate wodSSHD.DLL and select it. Select all offered interfaces. Click on 'Ok'. VC will now generate wrapper classes for all interfaces.
- wodSSHServer is now declared as COleDispatchDriver - you can initialize it from the code like this:
- Do not forget to distribute wodSSHD.DLL when using COM object!
// in header file
IwodSSHDCom m_SSHD;
// in CPP file
OleInitialize(NULL);
m_SSHD.CreateDispatch("WeOnlyDo.wodSSHDCom.1");
Working with the ActiveX control
In order to insert wodSSHServer ActiveX control in your project, follow these steps:
- Install the component on your system by starting its setup program.
- In the Visual C++ Compiler IDE, create new project or open existing one.
- Click on 'Project', then on 'Add To Project', then on 'Components and Controls' menu
- in 'Registered ActiveX Controls' directory select 'wodSSHD Class', click on 'Insert' button, close the dialog
- Compiler will insert control into the project and create appropriate wrapper classes.
- Do not forget to distribute wodSSHD.OCX when using ActiveX control!
Recompile, and open ClassWizard