Re: How to declare a C++ member method for a ListN (General questions)
Yum,
isn't that declared in sftpdll.h header file?
No sir. I'm referring to the use of the callback as a normal C++ class member function, instead of a standalone function outside of the class.
So, for example, when the ListNames callback is called, the DLL is actually calling one of the wrapped C++ member function. In this case, the callback still has access to all the member variables in the same class. BUt this needs the callback functions to add another DWORD parameter at the front of the callback parameter list.
Yes, I know, I'm asking a tad much. I'm thinking that perhaps I should revert to a class-less standalone function for this SFTP stuff. Wrapping it in a C++ class was a stretch.
Regards
KS
Complete thread:
- How to declare a C++ member method for a ListNames - yumcious, 2005-03-24, 11:07
- Re: How to declare a C++ member method for a ListN - wodSupport, 2005-03-24, 11:09
- Re: How to declare a C++ member method for a ListN - yumcious, 2005-03-25, 03:21
- Re: How to declare a C++ member method for a ListN - wodSupport, 2005-03-25, 09:51
- Re: How to declare a C++ member method for a ListN - yumcious, 2005-03-25, 03:21
- Re: How to declare a C++ member method for a ListN - wodSupport, 2005-03-24, 11:09