Wrong vtable for COM interfaces that don't inherit IUnknown

Kagamin spam at here.lot
Sun Jul 21 16:06:04 UTC 2019


On Sunday, 21 July 2019 at 07:04:00 UTC, rikki cattermole wrote:
> COM is used heavily in WinAPI since about Vista. Pretty much 
> all new functionality has been exposed by it and NOT 
> extern(Windows) functions which was the standard during up to 
> about XP (for example notification icons would today be COM 
> based but isn't).
>
> E.g. jump lists 
> https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/nn-shobjidl_core-icustomdestinationlist

Shell object library? It shipped with Internet Explorer 4 and was 
installable on windows 95. Shell (explorer) is not really winapi, 
it's more or less a normal userland application that provides 
integration, like an RPC server, in this way it can be similar to 
d-bus, but it's difficult to say, because the library abstracts 
whether it works in process or out of process, most (older) shell 
objects work in process and simply provide shell logic like 
moving files to trash bin and creating shortcuts.


More information about the Digitalmars-d-learn mailing list