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. This COM thing is real cool!

This COM thing is real cool!

Scheduled Pinned Locked Moved The Lounge
tutoriallearningcsharpc++com
53 Posts 20 Posters 4 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.
  • M Michael Dunn

    Nish [BusterBoy] wrote: Or is he still in those final pre-guru stages which take the longest period of time in the Guru attainment procedure? LOL :) I think I'm a guru of simple apartment-threaded COM. I know zilch about remoting COM calls or DCOM or any of that proxy/stub stuff (just never had to use it, and for shell extensions all you need is apartment-threaded objects ;)). --Mike-- "COM didn't solve the old version of DLL hell - it just provided us with a new and improved version of hell."   -- John Simmons, 1/22/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.

    N Offline
    N Offline
    Nish Nishant
    wrote on last edited by
    #17

    Michael Dunn wrote: I think I'm a guru of simple apartment-threaded COM apartment-threaded COM? Hmmm, I think I heard some stuff about single thread apartments and multiple thread apartments. I didnt really understand much about it and left it at that. I thought I'd come back to all that stuff later. Nish p.s. Brian Hart's got a series of intro articles for DCOM. I wonder whether we can use it to learn COM [and not just DCOM] p.s. to p.s. Any technical blunders in this post may please be forgiven considering that the poster is a raw newbie :-) Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

    G 1 Reply Last reply
    0
    • K Kannan Kalyanaraman

      Nish [BusterBoy] wrote: My grammar sucks like Lotus Notes, Just out of curiosity, what makes you think Lotus Notes sucks... Cheers Kannan

      D Offline
      D Offline
      Daniel Turini
      wrote on last edited by
      #18

      Because it doesn't do what it says... Every single feature I've used (from v3 through v4.56) have tons of bugs. And these bugs will haunt you if you develop solutions in Notes. Your user can't see where's the bug, so YOU are the one that made the buggy software. Crivo Automated Credit Assessment

      1 Reply Last reply
      0
      • M Michael Dunn

        Nish [BusterBoy] wrote: Or is he still in those final pre-guru stages which take the longest period of time in the Guru attainment procedure? LOL :) I think I'm a guru of simple apartment-threaded COM. I know zilch about remoting COM calls or DCOM or any of that proxy/stub stuff (just never had to use it, and for shell extensions all you need is apartment-threaded objects ;)). --Mike-- "COM didn't solve the old version of DLL hell - it just provided us with a new and improved version of hell."   -- John Simmons, 1/22/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.

        D Offline
        D Offline
        Daniel Turini
        wrote on last edited by
        #19

        Man, you are losing all the COM fun! Try to make a asynchronous COM call and see what I mean. Crivo Automated Credit Assessment

        1 Reply Last reply
        0
        • N Nish Nishant

          Michael Dunn wrote: I think I'm a guru of simple apartment-threaded COM apartment-threaded COM? Hmmm, I think I heard some stuff about single thread apartments and multiple thread apartments. I didnt really understand much about it and left it at that. I thought I'd come back to all that stuff later. Nish p.s. Brian Hart's got a series of intro articles for DCOM. I wonder whether we can use it to learn COM [and not just DCOM] p.s. to p.s. Any technical blunders in this post may please be forgiven considering that the poster is a raw newbie :-) Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

          G Offline
          G Offline
          Ganesh Ramaswamy
          wrote on last edited by
          #20

          hey, the real fun in COM .. forget ATL WRAPPED COM - s it makes life easy But write in raw C++. thats more fun. u got the control - ur own marshalling thats more cool - ok finally try understanding Don Box book completely - then u become a real G U R U Ganesh M Ramaswamy

          N 1 Reply Last reply
          0
          • G Ganesh Ramaswamy

            hey, the real fun in COM .. forget ATL WRAPPED COM - s it makes life easy But write in raw C++. thats more fun. u got the control - ur own marshalling thats more cool - ok finally try understanding Don Box book completely - then u become a real G U R U Ganesh M Ramaswamy

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #21

            Thanks for the tips, Ganesh. Regards Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

            1 Reply Last reply
            0
            • N Nish Nishant

              Yipppeee! I wrote my first COM thingie :-) Of course it's only the example in the book. But despite the fact that I knew what to expect I was still thrilled, so thrilled I can't control my excitement. I mean I wrote the DLL, registered it. Then I used it from VB. Cool eh? Then I used it from ASP. Cooler eh? I haven't figured out how to use it from C++ though :-( But damnit, I mean this is so cool. I mean why did MS bother with .NET when they already had this COM thing? I mean, what's the bloody purpose! I am the newbiest COM newbie in this planet currently. But even I can see that it is so damn cool! Yippeee again...... How many COMites are here? Is Mike Dunn the only COMite Guru we have? Or is he still in those final pre-guru stages which take the longest period of time in the Guru attainment procedure? Coli, are you hearing this buddy? I am a COMite now. Halley's COMite :-) Regards COM newbie Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

              B Offline
              B Offline
              BlameUS
              wrote on last edited by
              #22

              Nish wrote: "I am the newbiest COM newbie in this planet currently." You evolved to a COM newbie from a .NET guru? Congratulations! ;)

              N 1 Reply Last reply
              0
              • N Nish Nishant

                Yipppeee! I wrote my first COM thingie :-) Of course it's only the example in the book. But despite the fact that I knew what to expect I was still thrilled, so thrilled I can't control my excitement. I mean I wrote the DLL, registered it. Then I used it from VB. Cool eh? Then I used it from ASP. Cooler eh? I haven't figured out how to use it from C++ though :-( But damnit, I mean this is so cool. I mean why did MS bother with .NET when they already had this COM thing? I mean, what's the bloody purpose! I am the newbiest COM newbie in this planet currently. But even I can see that it is so damn cool! Yippeee again...... How many COMites are here? Is Mike Dunn the only COMite Guru we have? Or is he still in those final pre-guru stages which take the longest period of time in the Guru attainment procedure? Coli, are you hearing this buddy? I am a COMite now. Halley's COMite :-) Regards COM newbie Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                N Offline
                N Offline
                NormDroid
                wrote on last edited by
                #23

                Wait 'till ya hit connection points, and aggregation. Normski. - Professional Windows Programmer

                N 1 Reply Last reply
                0
                • B BlameUS

                  Nish wrote: "I am the newbiest COM newbie in this planet currently." You evolved to a COM newbie from a .NET guru? Congratulations! ;)

                  N Offline
                  N Offline
                  Nish Nishant
                  wrote on last edited by
                  #24

                  kfc wrote: a .NET guru? Joking right? :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                  B 1 Reply Last reply
                  0
                  • N NormDroid

                    Wait 'till ya hit connection points, and aggregation. Normski. - Professional Windows Programmer

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #25

                    I am still too vague about all those things to even get scared :-) Ignorance makes me brave :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                    C 1 Reply Last reply
                    0
                    • M Michael Dunn

                      Nish [BusterBoy] wrote: Or is he still in those final pre-guru stages which take the longest period of time in the Guru attainment procedure? LOL :) I think I'm a guru of simple apartment-threaded COM. I know zilch about remoting COM calls or DCOM or any of that proxy/stub stuff (just never had to use it, and for shell extensions all you need is apartment-threaded objects ;)). --Mike-- "COM didn't solve the old version of DLL hell - it just provided us with a new and improved version of hell."   -- John Simmons, 1/22/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.

                      R Offline
                      R Offline
                      Ryan Park
                      wrote on last edited by
                      #26

                      "COM didn't solve the old version of DLL hell - it just provided us with a new and improved version of hell." I can't agree more. :cool: Ryan

                      1 Reply Last reply
                      0
                      • N Nish Nishant

                        Yipppeee! I wrote my first COM thingie :-) Of course it's only the example in the book. But despite the fact that I knew what to expect I was still thrilled, so thrilled I can't control my excitement. I mean I wrote the DLL, registered it. Then I used it from VB. Cool eh? Then I used it from ASP. Cooler eh? I haven't figured out how to use it from C++ though :-( But damnit, I mean this is so cool. I mean why did MS bother with .NET when they already had this COM thing? I mean, what's the bloody purpose! I am the newbiest COM newbie in this planet currently. But even I can see that it is so damn cool! Yippeee again...... How many COMites are here? Is Mike Dunn the only COMite Guru we have? Or is he still in those final pre-guru stages which take the longest period of time in the Guru attainment procedure? Coli, are you hearing this buddy? I am a COMite now. Halley's COMite :-) Regards COM newbie Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                        C Offline
                        C Offline
                        Christian Graus
                        wrote on last edited by
                        #27

                        Nish [BusterBoy] wrote: I mean why did MS bother with .NET when they already had this COM thing? I mean, what's the bloody purpose! COM rules, does it not ? I've not done enough after my initial forays, due to my trying to do stuff that is of use to my work. I wish I could, maybe soon I will :-) Running it from C++ is pretty easy. I've never run one from VB, for obvious reasons :-) Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff. Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.

                        Sonork ID 100.10002:MeanManOz

                        I live in Bob's HungOut now

                        1 Reply Last reply
                        0
                        • N Nish Nishant

                          I am still too vague about all those things to even get scared :-) Ignorance makes me brave :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                          C Offline
                          C Offline
                          Christian Graus
                          wrote on last edited by
                          #28

                          Connection points are WAY cool ( they let your COM object call the method that called it, like a callback ). I use it in my database program to report back on the files I am parsing. It was hell to get working though. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff. Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.

                          Sonork ID 100.10002:MeanManOz

                          I live in Bob's HungOut now

                          N 1 Reply Last reply
                          0
                          • K Kannan Kalyanaraman

                            Nish [BusterBoy] wrote: My grammar sucks like Lotus Notes, Just out of curiosity, what makes you think Lotus Notes sucks... Cheers Kannan

                            C Offline
                            C Offline
                            Christian Graus
                            wrote on last edited by
                            #29

                            Kannan Kalyanaraman wrote: Just out of curiosity, what makes you think Lotus Notes sucks... Simple observation. There are entire websites devoted to how bad the UI is, and it's just an unpleasant experience from start to finish. No product has any excuse for requiring training for a group of programmers to learn how to use it to read email. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff. Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.

                            Sonork ID 100.10002:MeanManOz

                            I live in Bob's HungOut now

                            J 1 Reply Last reply
                            0
                            • C Christian Graus

                              Connection points are WAY cool ( they let your COM object call the method that called it, like a callback ). I use it in my database program to report back on the files I am parsing. It was hell to get working though. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff. Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.

                              Sonork ID 100.10002:MeanManOz

                              I live in Bob's HungOut now

                              N Offline
                              N Offline
                              Nish Nishant
                              wrote on last edited by
                              #30

                              Thanks for the info CG :-) ****Christian Graus wrote: It was hell to get working though That's where the fun is I guess :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                              C 1 Reply Last reply
                              0
                              • N Nish Nishant

                                Yipppeee! I wrote my first COM thingie :-) Of course it's only the example in the book. But despite the fact that I knew what to expect I was still thrilled, so thrilled I can't control my excitement. I mean I wrote the DLL, registered it. Then I used it from VB. Cool eh? Then I used it from ASP. Cooler eh? I haven't figured out how to use it from C++ though :-( But damnit, I mean this is so cool. I mean why did MS bother with .NET when they already had this COM thing? I mean, what's the bloody purpose! I am the newbiest COM newbie in this planet currently. But even I can see that it is so damn cool! Yippeee again...... How many COMites are here? Is Mike Dunn the only COMite Guru we have? Or is he still in those final pre-guru stages which take the longest period of time in the Guru attainment procedure? Coli, are you hearing this buddy? I am a COMite now. Halley's COMite :-) Regards COM newbie Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

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

                                COM is wonderful. I've been writing COM objects for about four years now. Nish [BusterBoy] wrote: I mean why did MS bother with .NET when they already had this COM thing? I mean, what's the bloody purpose! .NET is based upon COM, without COM then .NET wouldn't exist. Welcome to the COM club. I recommend you read Essential COM by Don Box and Effective COM also by Don Box and if you can find a video of Don Box's COM dance. Michael :-)

                                N 1 Reply Last reply
                                0
                                • N Nish Nishant

                                  Thanks for the info CG :-) ****Christian Graus wrote: It was hell to get working though That's where the fun is I guess :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                                  C Offline
                                  C Offline
                                  Christian Graus
                                  wrote on last edited by
                                  #32

                                  Nish [BusterBoy] wrote: Christian Graus wrote: It was hell to get working though That's where the fun is I guess Of course - if it was easy, failed plumbers would do it for $3 an hour. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff. Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.

                                  Sonork ID 100.10002:MeanManOz

                                  I live in Bob's HungOut now

                                  N 1 Reply Last reply
                                  0
                                  • C Christian Graus

                                    Kannan Kalyanaraman wrote: Just out of curiosity, what makes you think Lotus Notes sucks... Simple observation. There are entire websites devoted to how bad the UI is, and it's just an unpleasant experience from start to finish. No product has any excuse for requiring training for a group of programmers to learn how to use it to read email. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff. Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.

                                    Sonork ID 100.10002:MeanManOz

                                    I live in Bob's HungOut now

                                    J Offline
                                    J Offline
                                    Jason Hooper
                                    wrote on last edited by
                                    #33

                                    I definately agree. It's the weapon of choice for e-mail at my local college, and we all had a lot of fun laughing at it. - Jason SonorkID: 100.12194 :bob:'s your uncle

                                    1 Reply Last reply
                                    0
                                    • M Michael P Butler

                                      COM is wonderful. I've been writing COM objects for about four years now. Nish [BusterBoy] wrote: I mean why did MS bother with .NET when they already had this COM thing? I mean, what's the bloody purpose! .NET is based upon COM, without COM then .NET wouldn't exist. Welcome to the COM club. I recommend you read Essential COM by Don Box and Effective COM also by Don Box and if you can find a video of Don Box's COM dance. Michael :-)

                                      N Offline
                                      N Offline
                                      Nish Nishant
                                      wrote on last edited by
                                      #34

                                      Michael P Butler wrote: .NET is based upon COM, without COM then .NET wouldn't exist Can you elaborate more on that statement? Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                                      M 1 Reply Last reply
                                      0
                                      • C Christian Graus

                                        Nish [BusterBoy] wrote: Christian Graus wrote: It was hell to get working though That's where the fun is I guess Of course - if it was easy, failed plumbers would do it for $3 an hour. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff. Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.

                                        Sonork ID 100.10002:MeanManOz

                                        I live in Bob's HungOut now

                                        N Offline
                                        N Offline
                                        Nish Nishant
                                        wrote on last edited by
                                        #35

                                        ****Christian Graus wrote: Of course - if it was easy, failed plumbers would do it for $3 an hour In Indian money that'd be a pretty decent amount of money :-) Rs 138/hr :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                                        C 1 Reply Last reply
                                        0
                                        • N Nish Nishant

                                          kfc wrote: a .NET guru? Joking right? :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                                          B Offline
                                          B Offline
                                          BlameUS
                                          wrote on last edited by
                                          #36

                                          No, I am not joking. Considering the number of C# articles under your name, who else on this site is more qualified for the guru title? ;)

                                          N 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