Skip to content

Implement COM objects properly (for instance, App) #5

@cocus

Description

@cocus

I don't have enough time to continue with this project at this time, but I'd like to ask for help about implementing the COM objects properly.
My current implementation is a hacked up solution that doesn't work and it doesn't follow COM standards. I understand that MSVC can create COM classes by just defining the virtual tables inside the C++ sources (similarly to https://github.com/valinet/ExplorerPatcher/blob/master/ExplorerPatcher/StartMenuSettings.cpp#L67C36-L67C36).
I also don't know how the DllGetClassObject works inside a COM dll, thus my "factory" code is probably not right.
This is fundamental for the other stuff to work, like VB classes; which also require further investigation on how to properly create a COM object and probably provide a wrapper around them.
Any help would be greatly appreciated. It doesn't need to be in the form of pull requests, any conversations on this issue would suffice. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions