Dmitry Timoshkov wrote:
"Jacek Caban" <[EMAIL PROTECTED]> wrote:
No, I don't. In my case I need only this:
/* this is where we are coming from */
+ITypeLib2_AddRef((ITypeLib*)pLibInfo);
ptiRet->pTypeLib = pLibInfo;
ptiRet->index=count;
but I call ITypeLib_Release in ITypeInfo_Release
"Jacek Caban" <[EMAIL PROTECTED]> wrote:
> No, I don't. In my case I need only this:
>
> /* this is where we are coming from */
> +ITypeLib2_AddRef((ITypeLib*)pLibInfo);
> ptiRet->pTypeLib = pLibInfo;
> ptiRet->index=count;
>
> but I call ITypeLib_Release in ITypeInfo_Release so I
Dmitry Timoshkov wrote:
"jack" <[EMAIL PROTECTED]> wrote:
@@ -3265,6 +3266,7 @@
return NULL;
}
*ppTypeInfoImpl = (ITypeInfoImpl*)ITypeInfo_Constructor();
+ pTypeLibImpl->ref++;
Are you sure you need this piece of the patch? It causes the following
test program to fail:
"jack" <[EMAIL PROTECTED]> wrote:
> @@ -3265,6 +3266,7 @@
> return NULL;
>}
>*ppTypeInfoImpl = (ITypeInfoImpl*)ITypeInfo_Constructor();
> + pTypeLibImpl->ref++;
Are you sure you need this piece of the patch? It causes the following
test program to fail:
#define COBJMACROS
Hi.
I've tryed to run game Project Entropia and I got segmentation fault
because of a bug in OLE.
I've hacked code and I found two bugs:
1. ITypeInfo has back pointer to ITypeLib, but it's possible (and
happened) that ITypeLib is
destroyed and later ITypeInfo calls its function. I've solve this