Re: WodKeys GetPrivateKey returns an empty string (General questions)
Hi
In your sample you do the following [code]ssh1.PrivateKey = key
[/code]. But if you look at the COM IDL file in C++ it shows:
[code]virtual HRESULT __stdcall put_PrivateKey (
enum SSHKeyTypes KeyType,
BSTR pVal ) = 0;[/code]
I pass in the BSTR pointer. But it always returns an empty string.
Can you show a C++ example?
Thanks
Arun