Re: wodSSH in C++ Builder (General questions)
The Execute() method calls for tagVARIANT, so I'm converting expected AnsiStrings to a VARIANT like this:
VARIANT v1;
VariantInit(&v1);
v1.vt = VT_BSTR;
v1.bstrVal = WideString(SomeAnsiString);
SSH->Execute(wchar_t *, v1, tagVARIANT Timeout);
Then I'm using Execute() to find this next prompt, and then I clear the VARIANT when I'm done with it. Does this look right?
Complete thread:
- wodSSH in C++ Builder - Ryan Crosby, 2005-08-31, 21:51
- Re: wodSSH in C++ Builder - wodSupport, 2005-08-31, 21:58
- Re: wodSSH in C++ Builder - Ryan Crosby, 2005-08-31, 23:29
- Re: wodSSH in C++ Builder - wodSupport, 2005-08-31, 23:59
- Re: wodSSH in C++ Builder - Ryan Crosby, 2005-09-01, 01:35
- Re: wodSSH in C++ Builder - wodSupport, 2005-09-01, 01:39
- Re: wodSSH in C++ Builder - Ryan Crosby, 2005-09-01, 16:47
- Re: wodSSH in C++ Builder - wodSupport, 2005-09-01, 16:49
- Re: wodSSH in C++ Builder - Ryan Crosby, 2005-09-01, 17:25
- Re: wodSSH in C++ Builder - wodSupport, 2005-09-01, 17:29
- Re: wodSSH in C++ Builder - Ryan Crosby, 2005-09-01, 17:43
- Re: wodSSH in C++ Builder - wodSupport, 2005-09-01, 17:44
- Re: wodSSH in C++ Builder - Ryan Crosby, 2005-09-01, 18:33
- Re: wodSSH in C++ Builder - Ryan, 2005-09-07, 17:11
- Re: wodSSH in C++ Builder - wodSupport, 2005-09-07, 17:53
- Re: wodSSH in C++ Builder - Ryan, 2005-09-07, 17:56
- Re: wodSSH in C++ Builder - wodSupport, 2005-09-08, 00:45
- Re: wodSSH in C++ Builder - Ryan, 2005-09-07, 17:56
- Re: wodSSH in C++ Builder - wodSupport, 2005-09-07, 17:53
- Re: wodSSH in C++ Builder - Ryan, 2005-09-07, 17:11
- Re: wodSSH in C++ Builder - Ryan Crosby, 2005-09-01, 18:33
- Re: wodSSH in C++ Builder - wodSupport, 2005-09-01, 17:44
- Re: wodSSH in C++ Builder - Ryan Crosby, 2005-09-01, 17:43
- Re: wodSSH in C++ Builder - wodSupport, 2005-09-01, 17:29
- Re: wodSSH in C++ Builder - Ryan Crosby, 2005-09-01, 17:25
- Re: wodSSH in C++ Builder - wodSupport, 2005-09-01, 16:49
- Re: wodSSH in C++ Builder - Ryan Crosby, 2005-09-01, 16:47
- Re: wodSSH in C++ Builder - wodSupport, 2005-09-01, 01:39
- Re: wodSSH in C++ Builder - Ryan Crosby, 2005-09-01, 01:35
- Re: wodSSH in C++ Builder - wodSupport, 2005-08-31, 23:59
- Re: wodSSH in C++ Builder - Ryan Crosby, 2005-08-31, 23:29
- Re: wodSSH in C++ Builder - wodSupport, 2005-08-31, 21:58