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

some of my confusion #98

Open
xiaochufuji opened this issue Jan 23, 2025 · 1 comment
Open

some of my confusion #98

xiaochufuji opened this issue Jan 23, 2025 · 1 comment

Comments

@xiaochufuji
Copy link

To understand your code, I specifically spent two weeks learning COM for C++ and C# syntax. However, I’ve always had one question: how are the GUIDs for interfaces and classes obtained? In the Grabacr07/VirtualDesktop library, I found most of the interface GUIDs, but I’m still very confused about the class GUIDs. Now, I can independently write C++ programs using the interface ID of IVirtualDesktopManager and the class ID you provided, but I’m still unclear about other functionalities, such as pinning/unpinning windows. So, I’d like to ask you for advice. Thank you very much.

@xiaochufuji
Copy link
Author

Although I can find most of the GUIDs in the CLSID in regeit sheet, I can't tell them apart. Do you go through them one by one, creating objects and checking the return values to see if they work? This might work, but it wouldn't give us information like the function signatures inside the interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant