D
d stokes
Am I the only person that has compiled COM code with VC++
7.1?? There seems to be some bugs in comutil.h, causing
quite a few errors when comdef.h is included (even if
there are no other files).
Apparently all references to wchar_t* have been changed
to LPWSTR. This causes problems everywhere where a const
LPWSTR is used, as this is equivalent to wchar_t* const
and not the original const wchar_t*. It causes errors
with any code like (LPWSTR)_bstr_t("...") or (BSTR)_bstr_t
("...").
Anyway, I've found no reference to this on MSDN.
I'd also like to know how one submits a simple bug report
to MS. Although there's a reference to "submit a bug
report" on the MSDN contacts page, I can find no way of
actually doing it.
7.1?? There seems to be some bugs in comutil.h, causing
quite a few errors when comdef.h is included (even if
there are no other files).
Apparently all references to wchar_t* have been changed
to LPWSTR. This causes problems everywhere where a const
LPWSTR is used, as this is equivalent to wchar_t* const
and not the original const wchar_t*. It causes errors
with any code like (LPWSTR)_bstr_t("...") or (BSTR)_bstr_t
("...").
Anyway, I've found no reference to this on MSDN.
I'd also like to know how one submits a simple bug report
to MS. Although there's a reference to "submit a bug
report" on the MSDN contacts page, I can find no way of
actually doing it.