Question about WodSSH Encoding property (wodSSH / wodSSH.NET)
Hi Kevin.
Samples are based on older version of wodSSH when that property did not exist. You can easily add it's declaration. In sample's folder open wodSSH.h and below 'GetLanguage' and 'SetLanguage' lines add these:
long GetEncoding();
void SetEncoding(long nNewValue);
and in wodSSH.cpp at the end add implementations:
long IwodSSHCom::GetEncoding()
{
long result;
InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void IwodSSHCom::SetEncoding(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
and that should make this property available.
I hope this helps!
Jasmine.
Complete thread:
- Question about WodSSH Encoding property - kevin, 2016-01-04, 12:14
- Question about WodSSH Encoding property - Jasmine, 2016-01-04, 12:23
- Question about WodSSH Encoding property - kevin, 2016-01-04, 12:46
- Question about WodSSH Encoding property - Jasmine, 2016-01-04, 12:23