Top "Com" questions

Component Object Model (COM) is a component technology from Microsoft, featuring remoting, language independence and interface-based programming.

What's the difference between BSTR and _bstr_t?

Can anyone explain the difference between the types mentioned above and some sample usage to clearly explain the difference between …

c++ com smart-pointers
Excel .NET COM - Automation error. The system cannot find the file specified

I have a .NET 2.0 COM object that's used by VBA in Excel. It works fine on my dev machine, but …

.net excel com automation
Class not registered error for Instantiation of C# object via COM from VC++

In a VC++ project, I am trying to create an instance (via COM) of a C# class contained within a …

c# .net visual-c++ com regasm
Does assigning null remove all event handlers from an object?

I have defined new member in my class protected COMObject.Call call_ = null; This class has the following event handler …

c# .net com delegates event-handling
Access x86 COM from x64 .NET

I have an x64 server which, since my libraries are compiled to AnyCPU, run under x64. We are needing to …

.net com interop x86 64-bit
Open an Excel file in exclusive mode using VBScript

I have a simple question, but I've searched for this and couldn't find any helpful topics.. I'm working on a …

excel vbscript com dde vba
Excel 2007 automation on top of a Windows Server 2008 x64

I’m well aware of the Microsoft support base article stating that it’s not supported to automate office products …

com excel-2007 office-automation
What is the difference between AxInterop and Interop?

I've added an .ocx to the toolbox in VS. Two .dll's were created: Interop.NNN.dll, AxInterop.NNN.dll. What …

.net com interop activex ocx
COM automation using tlb file

Consider me a novice to windows environment and COM programming. I have to automate an application (CANoe) access. CANoe exposes …

c++ com automation typelib
How to compare BSTR against a string in c/c++?

wprintf(L"Selecting Audio Input Device: %s\n", varName.bstrVal); if(0 == strcmp(varName.bstrVal, "IP Camera [JPEG/MJPEG]"))... The above …

c++ windows com activex