Hello Jacek,
On 05/14/2014 04:55 PM, Jacek Caban wrote:
0001-oleaut32-Added-debugstr_variant-helper-for-better-deb.diff
wouldn't it be better to make debugstr_variant aka add it to include/wine/debug.h? VARIANTs are used in a lot more places then just oleaut32.
diff --git a/dlls/oleaut32/varformat.c b/dlls/oleaut32/varformat.c index e72a170..0e1c370 100644 --- a/dlls/oleaut32/varformat.c +++ b/dlls/oleaut32/varformat.c @@ -1201,9 +1201,8 @@ static HRESULT VARIANT_FormatNumber(LPVARIANT pVarIn, LPOLESTR lpszFormat, const BYTE* pToken = NULL; HRESULT hRes = S_OK;
- TRACE("(%p->(%s%s),%s,%p,0x%08x,%p,0x%08x)\n", pVarIn, debugstr_VT(pVarIn),
debugstr_VF(pVarIn), debugstr_w(lpszFormat), rgbTok, dwFlags, pbstrOut,
lcid);
- TRACE("(%s,%s,%p,0x%08x,%p,0x%08x)\n", debugstr_variant(pVarIn), debugstr_w(lpszFormat),
rgbTok, dwFlags, pbstrOut, lcid);
bye michael
On 05/14/14 17:09, Michael Stefaniuc wrote:
Hello Jacek,
On 05/14/2014 04:55 PM, Jacek Caban wrote:
0001-oleaut32-Added-debugstr_variant-helper-for-better-deb.diff
wouldn't it be better to make debugstr_variant aka add it to include/wine/debug.h? VARIANTs are used in a lot more places then just oleaut32.
That's my long term plan for this. I'm not yet sure how to integrate it with debug.h yet, because that would require some sort of dependency on oaidl.h. Anyway, I'd like to have one best copy of debugstr_variant available and oleaut32 seems like the best place to develop and test that since it deals with about all possible VARIANT types.
Cheers, Jacek