*.idl: Use correct type for BSTR strings in the defaultvalue() statements.
bunglehead at gmail.com
Fri Nov 6 03:11:32 CST 2015
On 06.11.2015 11:37, Dmitry Timoshkov wrote:
> This matches midl/PSDK syntax, and allows to use Wine headers for compiling
> applications with a C++ win32/win64 compiler. In order to be usable by C++
> unix compilers widl needs to emit appropriate statically initialized WCHAR
> strings, but that's a different problem, currently the generated Wine headers
> with default(BSTR) statements can't be used with C++ at all.
Where do you see this? Mshtml.idl from Windows 10 SDK doesn't use this
notation, and in fact only fsrm*.idl files do, so it's not a common
practice. Generated headers should use L"", like you said. But only in
case of empty strings. Also leaving this broken for everything that's
not PSDK compiler doesn't sound right.
More information about the wine-devel