Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

COM in Visual C++

DavidJackson4DavidJackson4 Member Posts: 33
I'm interested in learning about COM. It is my understanding that any Visual C++ dll created is automatically a COM file. Is this correct? I'm using Visual Studios 2005.

Comments

  • stoberstober Member Posts: 9,765 ✭✭✭
    >> It is my understanding that any Visual C++ dll created is automatically a COM file.

    No, that is not correct. There are lots of DLLs that do not have COM support. VC++ 2005 Express edition does not support COM objects. You need the Standard or better, which costs lots of $$$.
  • DavidJackson4DavidJackson4 Member Posts: 33
    : >> It is my understanding that any Visual C++ dll created is automatically a COM file.
    :
    : No, that is not correct. There are lots of DLLs that do not have COM support. VC++ 2005 Express edition does not support COM objects. You need the Standard or better, which costs lots of $$$.
    :

    Yes, I've got the Standard edition. Now, what needs to be included in the dll so that it will be a COM file?
  • stoberstober Member Posts: 9,765 ✭✭✭
    : : >> It is my understanding that any Visual C++ dll created is automatically a COM file.
    : :
    : : No, that is not correct. There are lots of DLLs that do not have COM support. VC++ 2005 Express edition does not support COM objects. You need the Standard or better, which costs lots of $$$.
    : :
    :
    : Yes, I've got the Standard edition. Now, what needs to be included in the dll so that it will be a COM file?
    :


    The easiest way is to create a whole new project -- select COM ATL type project. Converting an existing DLL is pretty complex and probably not work the effort (I haven't really done that).
Sign In or Register to comment.