[shell-coding] Re: Shell_TrayWnd: unusual WM_COPYDATA messages


I'm not sure whether CLSCTX_INPROC_HANDLER is necessary. I'm also not sure if the error code is correct, but it seemed to be the most likely candidate. Does that look ok?


No, CLSCTX_INPROC_HANDLER isn't necessary. And for the error handling
you don't need to set hr to CLASS_E_CLASSNOTAVAILABLE yourself, just
return whatever CoCreateInstance returned.

Another interesting question is whether we actually want to implement this. Most apps using SHLoadInProc probably take advantage of explorer-specific features which we can't provide...


I don't think we need it. It looks like most apps use it to inject their DLL into
Explorer's address space so that can mess with the taskbar, this would only
cause problems in LS. I have no idea what Internet Explorer is using it for,
but so long as everything works fine without implementing it, I'd say leave it
out.


--
Maduin



__________________________________________________
Subscription options and archive:
http://www.freelists.org/list/shell-coding

Other related posts: