Re: WodKeys GetPrivateKey returns an empty string (General questions)

by Jasmine, (6858 days ago) @ Jasmine

One more note - you probably use MFC which converts BSTR to CString for you. That's why you receive 0 string - because BSTR contains binary data and conversion done by MFC fails. You should convert it by yuorself using WideCharToMultiByte

locked

Complete thread: