Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cocus opened this issue Dec 20, 2023 · 0 comments
Open

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

cocus opened this issue Dec 20, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@cocus
Copy link
Owner

cocus commented Dec 20, 2023

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!

@cocus cocus added enhancement New feature or request help wanted Extra attention is needed labels Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant