Multiple simultanous IwodSSHCom objects and notifi (General questions)

by Espen, (6073 days ago)

I have several objects of type CCem. (CCem implements CCmdTarget)

Each CCem object has a IwodSSHCom m_SSH;

For example in: STDMETHODIMP CCem::XNotify::Received(IwodSSHCom *Owner, short ByteCount)

IwodSSHCom *Owner doesnt point to any of the m_SSH's in any of the CCem's. How can i tell which m_SSH triggered the event?

Same in Consample:
wodSSH_Connected(IwodSSHCom *SSH...);
SSH does not point to the cSSH created in main..

Hope this is possible to solve [:happy:]

locked

Complete thread: