Hi fellows,
How can I set a value of any type in VARIANT const pointer? I am tried my best but vain. I am facing compile time error.
Here is sample code
VARIANT *v=NULL;
v->bstrVal = "Video.Bin";
another try
VARIANT *pValue;
//BSTR *fileName;
const char* pName;
pName = "Video.bin";
pValue = pName;
Many Thanks
Asif