#COM stuff

6 messages · Page 1 of 1 (latest)

warm mistBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

lone ocean
#

The obvious question is did you register the COM DLL on the target machine?
You could ofc deep-dive into the registry on the target machine to check that everything is there.

I last used COM about 20 years ago, so memory is hazy to say the least.
But I think you can use a Microsoft program named OLEView to explore all registered COM objects on the target machine and instantiate/interrogate the object.

If OLEView can instantiate it on your target and your remote client can not, then there is network configuration issue (I reckon).

tiny drum
#

When googling around about COM, it seems like I have the calls I need which is CLSIDFromString, CoInitializeEx and CoCreateInstanceEx. So I don't know what is missing

#

I used Oleview to get the CLSID for Excel.Application, which is {00024500-0000-0000-C000-000000000046}

warm mistBOT
#

@tiny drum

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

tiny drum
#

!solved