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

Interface Viewer for the default interface of COM Service. #35

Open
ggo98 opened this issue Dec 29, 2021 · 0 comments
Open

Interface Viewer for the default interface of COM Service. #35

ggo98 opened this issue Dec 29, 2021 · 0 comments

Comments

@ggo98
Copy link

ggo98 commented Dec 29, 2021

Hello,

this tool is amazing. I like it very much, congratulations.

I have an issue when I try to view the default interface of an in a COM Service (.exe): the methods are not shown (so I can't invoke them of course).
It works great with another interface in the same object.
None of the interfaces/methods have a "special" attribute.
All the interfaces I'm talking implement IDispatch.
Here is an example of how the object and its interfaces are declared (in case it can be useful):

	public CComObjectRootEx<CComMultiThreadModel>,
	public CComCoClass<CMyServerTools, &CLSID_MyServerToolsX>,
	public ISupportErrorInfo,
	public IDispatchImpl<IMyServerTools2, &IID_IMyServerTools, &LIBID_MYSERVERLib>,
{
...
	BEGIN_COM_MAP(CMyServerTools)
		COM_INTERFACE_ENTRY(IMyServerTools)
		COM_INTERFACE_ENTRY(IMyServerTools2)
		COM_INTERFACE_ENTRY2(IDispatch, IMyServerTools)
		COM_INTERFACE_ENTRY(ISupportErrorInfo)
	END_COM_MAP()
...
};

For this object, I have the "problem" with IMyServerTools; The IMyServerTools2 methods are properly displayed and I can test (invoke) them.

I got the same behavior with several some (actually all) other objects within this COM Service and also with other COM Services (these COM services were all built using the MS ATL library).

Do you think it might be fixed someday please ?
Thank you,
Olivier gg.

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