Hi Paul: > When tracing is on for crypt we crashed. > + if (!HIWORD(pszOID)) > + TRACE("(%lx, %s, #%d, %s, %s)\n", dwEncodingType, pszFuncName, > LOWORD(pszOID), > + debugstr_w(pwszDll), pszOverrideFuncName);
debugstr_a() does this for you. + TRACE("(%lx, %s, %s, %s, %s)\n", dwEncodingType, pszFuncName, + debugstr_w(pszOID), debugstr_w(pwszDll), pszOverrideFuncName); You might want to use debugstr_a() also for the other strings (*FuncName) -- By by ... Detlef