Re: ole32: Fix dwClsContext parameter of a CoCreateInstance call in DefaultHandler_Run.
8 Oct
2012
8 Oct
'12
6:07 a.m.
On 10/6/2012 19:29, Roman Dadkov wrote:
This patch change dwClsContext parameter of a CoCreateInstance call in function DefaultHandler_Run. Because even if there is some clsid in the registry, the function will not be able to run the newly created object.
- hr = CoCreateInstance(&This->clsid, NULL, CLSCTX_LOCAL_SERVER, + hr = CoCreateInstance(&This->clsid, NULL, + CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER| + CLSCTX_LOCAL_SERVER|CLSCTX_REMOTE_SERVER, &IID_IOleObject, (void **)&This->pOleDelegate); This could be replaced with CLSCTX_ALL.
Is it possible to add a test for that?
4814
Age (days ago)
4814
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov