Results 1 to 6 of 6

Thread: What is COM ???

  1. #1

    Thread Starter
    Hyperactive Member techman2553's Avatar
    Join Date
    Mar 2001
    Location
    <- To your left.
    Posts
    362

    What is COM ???

    Hello,

    I know what ActiveX controls are, and I have made a few, but what is COM, DCOM, COM+, etc. I never really bothered to look into this before, but seeing as how VBForums has an entire section devoted to this, I thought I'd ask.

    Thanks
    ----------

  2. #2
    Hyperactive Member razzaj's Avatar
    Join Date
    Oct 1999
    Location
    jounieh
    Posts
    261
    well if you are familiar with ActiveX. COM are a bit like ActiveX

    one difference you dont see them. They are not a button nor a fancy listbox.

    They are rather a set of Classes. ( ihope you are familiar with OOP)

    that contains functions and Properties.

    This is roughly what they are. What they are used for, depends but mainly they are more like an archive of methods and functions either to perform Queries to a Database (fonr instance) without having to know the Connection String or how to make joins etc ...
    and they contain all OOP concepts like inheritance etc ...

    Another Thing is (as you know COM are stored in DLL usually)
    so when ever you have to change a function you dont recompile all the project or EXE , you just recompile your Changed DLL and distribute it.




    i dont know if it made it any clearer to you . I have the impression I just Made look worse. anyway Hope that helped.
    - regards -
    - razzaj -

  3. #3
    Junior Member robinm's Avatar
    Join Date
    May 2001
    Location
    London
    Posts
    19

    Post What is COM

    COM or the Component Object Model is a specification.
    The COM standard defines the following;

    A common way for applications to access and perform operations on Objects.

    A mechanism for keeping track of whether an object is in use and deleting it when it is no longer needed.

    A mechanism for applications to exchange objects

    A way to identify objects and to associate them with applications that understand how they are implemented.

    (excerpt from DAN APPLEMAN - Developing COM/ACTIVEX Components)

    To imitate is human... to copy without recognition is theft.

  4. #4

    Thread Starter
    Hyperactive Member techman2553's Avatar
    Join Date
    Mar 2001
    Location
    <- To your left.
    Posts
    362
    Thanks guys !!

    I appriciate the input. I'll add this to the list of things that I need to research, practice, apply, and Master !!
    ----------

  5. #5
    hellswraith
    Guest
    I just read the VB COM book by Tomas Lewis. Pretty good. Very good place to start out.

  6. #6

    Thread Starter
    Hyperactive Member techman2553's Avatar
    Join Date
    Mar 2001
    Location
    <- To your left.
    Posts
    362
    Thanks, I'll look for it!!
    ----------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width