Subject: | Could't use default event source if it begins with underscore character |
If default event source name begins with underscore character (as
autocreated by Visual Studio) than events not arrive.
Patch for this bug:
4405,4406c4409,4415
< if (isalpha(pszItf[0]))
< hr = FindIID(aTHX_ pObj, pszItf, &iid, &pTypeInfo, cp,
lcid);
---
Show quoted text
> //PE:
> if (pszItf[0]=='{') {
> OLECHAR Buffer[OLE_BUF_SIZ];
> OLECHAR *pBuffer = GetWideChar(aTHX_ itf,
Buffer, OLE_BUF_SIZ, cp);
Show quoted text> hr = IIDFromString(pBuffer, &iid);
> ReleaseBuffer(aTHX_ pBuffer, Buffer);
> }
4408,4411c4417
< OLECHAR Buffer[OLE_BUF_SIZ];
< OLECHAR *pBuffer = GetWideChar(aTHX_ itf, Buffer,
OLE_BUF_SIZ, cp);
< hr = IIDFromString(pBuffer, &iid);
< ReleaseBuffer(aTHX_ pBuffer, Buffer);
---
Show quoted text> hr = FindIID(aTHX_ pObj, pszItf, &iid,
&pTypeInfo, cp, lcid);