[Help] Cannot retrieve a bstr* via com interface into a system.string in vb.net
Posted on 2016-07-27
I am getting the following issue:
Cannot retrieve a bstr* via com interface into a system.string in vb.net
I tryed to use StringBuilder but then I get a compilation error.
I also did:
Dim Str as String = nothing
--> result: nothing
Is there an equivalent like in c# using [ref] - > myobj.getMessage(ref Str); where this works as expected.
All inputs are welcome.
Thank you very much in advance.