Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6929731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:21:18+00:00 2026-05-27T11:21:18+00:00

Numpty question alert. Is COM one type of DLL interface, or are DLLs one

  • 0

Numpty question alert.

Is COM one type of DLL interface, or are DLLs one type of COM interface?

If I call a Native (not .net) C++ DLL from Python using ctypes, is that using COM?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:21:19+00:00Added an answer on May 27, 2026 at 11:21 am

    Is COM one type of DLL interface, or are DLLs one type of COM interface?

    Yes and no. Per-se COM has nothing to do with DLL exports as such, but it is often implemented through one or more DLL entry points for inproc servers.

    In this case the registry holds some book-keeping information so that the DLL can be found (which doesn’t have to be named *.dll) and the DllGetClassObject entry point can be called implicitly whenever you instantiate the COM object through. So when you call CoCreateInstance or CoCreateInstanceEx and give a CLSID/GUID, what happens behind the scenes is that registered COM classes are looked up in the registry to figure out the mechanism (of which DLL is one) to use and then in case of DLLs the function DllGetClassObject will get called to create the instance you requested. In theory you can do all of that manually as well. COM just provides a nice way to hide the gory details and give you that unified abstraction layer on top.

    Note: COM DLLs are DLLs proper on Windows, but DLLs in general have nothing to do with COM. DLLs provide but one way to implement COM objects – specifically for COM InProc servers.

    Often there are four functions in such a COM DLL:

    • DllCanUnloadNow
    • DllGetClassObject
    • DllRegisterServer
    • DllUnregisterServer

    If I call a Native (not .net) C++ DLL from Python using ctypes, is that using COM?

    No. To my knowledge there are separate Python mechanisms for COM on Windows. See here.

    Edit: COM vs ActiveX

    COM, ActiveX and OLE are all names for basically the same underlying mechanisms with at most a slightly changed focus (for example in the case of ActiveX).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Question: I've profiled my Python program to death, and there is one function that
A question from a complete Python novice. I have a column array where I
This is a followup question from this one. Connecting Pyside with matplotlib My PythonFu
Please excuse this numpty question, but when I do ChannelFuture future = channel.write(message); future.addListener(new
Trying to reproduce the problem from this question , I've found I can't plot
I am converting to python and numpy from IDL (kinda like Matlab). This is
Based on the answers from this question , I have created a grid from
a other stupid question from my side ;) I have some issues with the
This is a follow-up question to my previous post: Python/Scipy Interpolation (map_coordinates) Let's say
Forgive me for yet another question on Python decorators. I did read through many

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.