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.
  • 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
                            • B BlameUS

                              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 Offline
                              N Offline
                              Nish Nishant
                              wrote on last edited by
                              #37

                              :-( I can feel the strong pungent scents of heavy sarcasm blowing hard into my face :-( 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 B 2 Replies Last reply
                              0
                              • N Nish Nishant

                                ****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 Offline
                                C Offline
                                Christian Graus
                                wrote on last edited by
                                #38

                                Nish [BusterBoy] wrote: In Indian money that'd be a pretty decent amount of money Really ? I presume you mean US$ ( AU$5.50 an hour ), but even then - I make a bit over AU$20 an hour and I make half what I'd expect to make if I moved to the mainland, at a minimum. No wonder people keep posting for Indian programmers. I know if I needed any work done, I'd pay you US$3 an hour in a second, then lie awake at night feeling guilty that it was so, so little. I don't think anyone beyond street mimes and paper boys get $3 an hour, it's just my standard response, as in when I get poor service from McDonalds or the local supermarket I will call the manager and say 'I know it's hard getting decent staff when you pay $3 an hour, but...', or if my daughter doesn't get her toy with her happy meal, I tell her it's because the people who work there are monkeys who work 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
                                • N Nish Nishant

                                  :-( I can feel the strong pungent scents of heavy sarcasm blowing hard into my face :-( 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
                                  #39

                                  Nish [BusterBoy] wrote: I can feel the strong pungent scents of heavy sarcasm blowing hard into my face I learned something this week, Nish. I went for a job interview, and after a couple of C++ questions, which I answered as expansively as I could, the guy said 'well the rest of my questions are going to sound pretty lame then'. He asked a few, but they quickly decided I knew enough not to bother asking any more. What did I learn ? I'd always assumed I was a bit below anyone who had a degree in my knowledge, in fact my main reason in going for the job was just to see if I could make any sort of impression at all. It seems to me if you're working hard to learn something, you may find that you know more than you think. Don't get me wrong, if Michael Dunn, for example, went for this job, I would not have a chance in hell, but I seem to be doing better than I thought. You are too - when I finally learn C#, I intend to read your articles, and to hope you answer my questions, the way I always hoped to see Michael answer my COM ones. 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 can feel the strong pungent scents of heavy sarcasm blowing hard into my face :-( 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
                                    #40

                                    Nish wrote: "I can feel the strong pungent scents of heavy sarcasm blowing hard into my face" Sorry, Nish. I wasn't trying to make fun of you. I know too little about .NET and C#, the number of articles is my only measure to judge the guruness of another person. :) :) :) The fact that you have evolved into a COM newbie says that you have a very bright future ahead of you. :) :) :)

                                    1 Reply Last reply
                                    0
                                    • N Nish Nishant

                                      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 Offline
                                      M Offline
                                      Michael P Butler
                                      wrote on last edited by
                                      #41

                                      I'll leave it to the experts to elaborate, they can probably explain it better than I can http://msdn.microsoft.com/msdnmag/issues/1200/com/com1200.asp Michael :-)

                                      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

                                        J Offline
                                        J Offline
                                        Jim A Johnson
                                        wrote on last edited by
                                        #42

                                        EEeewww. COM Sucks. That's not a childish put-down; it's a succinct technical assessment.

                                        M 1 Reply Last reply
                                        0
                                        • J Jim A Johnson

                                          EEeewww. COM Sucks. That's not a childish put-down; it's a succinct technical assessment.

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

                                          Any particular area? As somebody who loves the COM programming lifestyle I'd be interested to know why you think it sucks. Michael :-)

                                          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