I'm trying to convert BSTR to float with:
wcstod(data, NULL)
The problem is that this function works ok if data = 239.78, but i receive them in this format data = 239,78.
CComBSTR data = SysAllocString(L"239,78");
cout<<wcstod(data,NUll)<<endl;
Output of this code is 239.
Anyone could help? Thank you.