Hi,
How do I correctly call a function which expect BSTR* as a parameter?
eg:
void FunctionA(BSTR* b)
{
// Do something
}
Currently, my code is as follow:
void Caller()
{
BSTR* pbstr;
FunctionA(pbstr);
}
However, during compilation, I get warning "local variable pbstr' used without having been initialized".
How do I initialize the pbstr variable? Please advice. Thanks.