com-interface

Is there a way to tell whether two COM interface references point at the same instance?

Given two interface references obtained from different sources. Is there a programmatic way to tell whether they're implemented by the same instance? A simple equality check of the interface references always fails. EDIT: Large parts of the original question, which turned out to be an independent problem have now been moved to a new ...

What is the best way to access a serial port from VBA?

What is the best way to access a serial port from VBA? I have a need for some of our sales reps to be able to send a simple string over the serial port from an action button in PowerPoint. I don't commonly use VBA, especially for anything like this. Normally I would turn it into an application of some sort, but I actually don't think th...

Error calling ctor of signed COM .Net DLL

Hi guys, if've got a problem with a sigend .Net COM DLL and I try to call the ctor of this class in VB6 but it only works on my machine, but not on the other developer machines. The error is 0x80131534. The Class looks like this: // GUIDs are examples. In my component they're diffrent [ComVisible(true)] [Guid("AAAAAAAA-AAAA-1111-AAAA-...

C# Partial Class and COM Interface

I'm creating a C# library and am going to expose a COM interface to it. I understand the steps requried to do this, i.e. Ensure assumbly GUID is assigned, e.g: [assembly: Guid("dde7717b-2b75-4972-a4eb-b3d040c0a182")] Ensure COMVibile attribute is True Put a GUID attribute on the class, e.g. [GuidAttribute("4df74b15-d531-4217-af7e-569...