Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Recommend a good book on COM

Recommend a good book on COM

Scheduled Pinned Locked Moved The Lounge
c++comquestionlearning
11 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Okeno Palmer
    wrote on last edited by
    #1

    Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..

    J M A N J 6 Replies Last reply
    0
    • O Okeno Palmer

      Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..

      J Offline
      J Offline
      Jon Sagara
      wrote on last edited by
      #2

      http://www.codeproject.com/scrapbook/referencebooks.asp[^]

      Jon Sagara
      A bottle a night isn't alcoholism - it's persistence! -- A coworker, jokingly

      Latest Article: Breadcrumbs in ASP.NET

      1 Reply Last reply
      0
      • O Okeno Palmer

        Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..

        M Offline
        M Offline
        Michael P Butler
        wrote on last edited by
        #3

        I probably learnt most from Essential COM by Don Box. If you are doing COM with ATL (recommended), then I found 'Beginning Atl Com Programming' by Richard Grimes to be a good starting point. Of course this was a few years ago so there may be better and more up-to-date books. ATL Internals by Rector and Sells, is also a good read. Although probably not the best place for a beginner to start. Michael 'War is at best barbarism...Its glory is all moonshine. It is only those who have neither fired a shot nor heard the shrieks and groans of the wounded who cry aloud for blood, more vengeance, more desolation. War is hell.' - General William Sherman, 1879

        1 Reply Last reply
        0
        • O Okeno Palmer

          Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..

          A Offline
          A Offline
          Andrew McCarter
          wrote on last edited by
          #4

          I don't regard this as a beginners book per se, but I still think it's one of the best there is no matter what level you are at: Transactional COM+

          1 Reply Last reply
          0
          • O Okeno Palmer

            Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..

            N Offline
            N Offline
            Navin
            wrote on last edited by
            #5

            I have "The COM and COM+ Programming Primer", and "Inside COM". Both are average. Not bad, but not that great either. But why are you doing anything in COM anyway? :-D And if you are trying to find info on some of the DCOM flaws in order to write a virus or exploit them, I doubt these books have the answers. :-D :-D :-D If your nose runs and your feet smell, then you're built upside down.

            O 1 Reply Last reply
            0
            • N Navin

              I have "The COM and COM+ Programming Primer", and "Inside COM". Both are average. Not bad, but not that great either. But why are you doing anything in COM anyway? :-D And if you are trying to find info on some of the DCOM flaws in order to write a virus or exploit them, I doubt these books have the answers. :-D :-D :-D If your nose runs and your feet smell, then you're built upside down.

              O Offline
              O Offline
              Okeno Palmer
              wrote on last edited by
              #6

              Well apart from learning the COM technology for personal knowledge, I want to learn to use it because I want to speech enable some apps I have and MS just released their Speech SDK version 5 that has a COM interface that I would need to use ..:: Keno ::..

              1 Reply Last reply
              0
              • O Okeno Palmer

                Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..

                J Offline
                J Offline
                J Dunlap
                wrote on last edited by
                #7

                I learned COM from Inside OLE, but that's out of print. I think that Essential COM is good too, but I've never read it.

                "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                "You must be the change you wish to see in the world." - Mahatma Gandhi

                1 Reply Last reply
                0
                • O Okeno Palmer

                  Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..

                  J Offline
                  J Offline
                  jnettleton
                  wrote on last edited by
                  #8

                  Here are the books that I use: For COM beginners: "Developer's Workshop to COM and ATL 3.0" (first choice, learn COM fundamentals) "The COM and COM+ Programming Primer" (second choice, has COM+ stuff too) For experienced COM programmers: "Essential COM" by Don Box (a.k.a. COM bible, seems dated now, no ATL stuff) "Effective COM" (some useful tips, not for beginners) Although there are no good books for ATL 7.x, I highly recommend using Visual Studio .NET 2003 (with ATL 7.1) so you can take advantage of attributed programming and all of the great wizards. If you're going to use connection points, there are some attributes ([event_source], [event_receiver]) that make it very easy to implement. If you're new to C++ attributes, the learning curve is worth it. Good luck, Jerry

                  O 1 Reply Last reply
                  0
                  • J jnettleton

                    Here are the books that I use: For COM beginners: "Developer's Workshop to COM and ATL 3.0" (first choice, learn COM fundamentals) "The COM and COM+ Programming Primer" (second choice, has COM+ stuff too) For experienced COM programmers: "Essential COM" by Don Box (a.k.a. COM bible, seems dated now, no ATL stuff) "Effective COM" (some useful tips, not for beginners) Although there are no good books for ATL 7.x, I highly recommend using Visual Studio .NET 2003 (with ATL 7.1) so you can take advantage of attributed programming and all of the great wizards. If you're going to use connection points, there are some attributes ([event_source], [event_receiver]) that make it very easy to implement. If you're new to C++ attributes, the learning curve is worth it. Good luck, Jerry

                    O Offline
                    O Offline
                    Okeno Palmer
                    wrote on last edited by
                    #9

                    Nice breakdown! I have never used COM before and am going to start now. So I'd really like to get a good book on the foundation of COM so that anything built on it in the future will be easy to learn. Based on the recommendations and reviews I've read of the ones you guys have pointed out, I will be purchasing "Essential COM" and another. The second I've not decided on yet. i'm going to check out your recommendation of "Developer's Workshop to COM and ATL 3.0". Thanks again! ..:: Keno ::..

                    J 1 Reply Last reply
                    0
                    • O Okeno Palmer

                      Nice breakdown! I have never used COM before and am going to start now. So I'd really like to get a good book on the foundation of COM so that anything built on it in the future will be easy to learn. Based on the recommendations and reviews I've read of the ones you guys have pointed out, I will be purchasing "Essential COM" and another. The second I've not decided on yet. i'm going to check out your recommendation of "Developer's Workshop to COM and ATL 3.0". Thanks again! ..:: Keno ::..

                      J Offline
                      J Offline
                      jnettleton
                      wrote on last edited by
                      #10

                      I personally don't recommend the "Essential COM" book for beginners. Wait until you've had time to read and absorb other books and on-line documentation. If you wanted to develop a COM object from scratch in C or C++ w/o using ATL (3.0 or 7.x), then that book would still be my second/third choice. I actually bought a used copy since I thought it would be useful to debug some tough problems (like apartment threading models and memory allocations) and to describe the architecture and fundamentals of COM programming. The book didn't help much and I debugged the problem by reading a lot of MSDN documentation and then calling Microsoft tech support (MSDN incident). Now that I have the "Essential COM" book, I rarely use it as a reference since I use ATL so extensively. If you're like me, I like to have a solid understanding of the fundamentals so the "Developers Workshop" book is a good choice. But with ATL, most of the COM 'plumbing' details are taken care of (and you have all of the source code in .h and .inl files). What tools are you using? Visual Studio/C++ 6.0 or .NET? If you're using .NET, I can send you a few tips to help with your learning curve. Jerry

                      O 1 Reply Last reply
                      0
                      • J jnettleton

                        I personally don't recommend the "Essential COM" book for beginners. Wait until you've had time to read and absorb other books and on-line documentation. If you wanted to develop a COM object from scratch in C or C++ w/o using ATL (3.0 or 7.x), then that book would still be my second/third choice. I actually bought a used copy since I thought it would be useful to debug some tough problems (like apartment threading models and memory allocations) and to describe the architecture and fundamentals of COM programming. The book didn't help much and I debugged the problem by reading a lot of MSDN documentation and then calling Microsoft tech support (MSDN incident). Now that I have the "Essential COM" book, I rarely use it as a reference since I use ATL so extensively. If you're like me, I like to have a solid understanding of the fundamentals so the "Developers Workshop" book is a good choice. But with ATL, most of the COM 'plumbing' details are taken care of (and you have all of the source code in .h and .inl files). What tools are you using? Visual Studio/C++ 6.0 or .NET? If you're using .NET, I can send you a few tips to help with your learning curve. Jerry

                        O Offline
                        O Offline
                        Okeno Palmer
                        wrote on last edited by
                        #11

                        I'll be using both tools actually. We are alike in our pursuit for understanding the fundamentals as it's how I learn best so even though ATL sounds like it does alot for the developer, I can tell you that I will want to know how to do it myself if needs be. It will help me debug better too :) I'd appreciate those tips alot dude! Do you know of any good online outlets for technical books apart from www.bookpool.com? ..:: Keno ::..

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups