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. General Programming
  3. COM
  4. Need some clarification

Need some clarification

Scheduled Pinned Locked Moved COM
questioncsharpc++comgraphics
7 Posts 3 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.
  • K Offline
    K Offline
    Karl Hansson
    wrote on last edited by
    #1

    Hello Im new to this place and quite new to windows programming. I want to start to program with directx and I have read somewhere that you'll need to understand COM programming. And I also read somewhere that COM is getting replaced by .NET. Is it better then to learn .NET instead of COM? Or is it better to stick with COM? What is the difference between COM and .NET anyways? I'll be programming in C++ as I want parts of my application to be portable to linux. Will it be a problem to use C++ with .NET? Thanks Karl

    N 1 Reply Last reply
    0
    • K Karl Hansson

      Hello Im new to this place and quite new to windows programming. I want to start to program with directx and I have read somewhere that you'll need to understand COM programming. And I also read somewhere that COM is getting replaced by .NET. Is it better then to learn .NET instead of COM? Or is it better to stick with COM? What is the difference between COM and .NET anyways? I'll be programming in C++ as I want parts of my application to be portable to linux. Will it be a problem to use C++ with .NET? Thanks Karl

      N Offline
      N Offline
      Nathan Holt at EMOM
      wrote on last edited by
      #2

      Karl Hansson wrote:

      Hello Im new to this place and quite new to windows programming. I want to start to program with directx and I have read somewhere that you'll need to understand COM programming. And I also read somewhere that COM is getting replaced by .NET. Is it better then to learn .NET instead of COM? Or is it better to stick with COM? What is the difference between COM and .NET anyways? I'll be programming in C++ as I want parts of my application to be portable to linux. Will it be a problem to use C++ with .NET? Thanks Karl

      If you're using C++ for portability to linux, COM sounds like your best bet. COM provides a binery standard for using native code. .NET is based on a pcode system that is intended to be portable among windows systems. Nathan

      K CPalliniC 2 Replies Last reply
      0
      • N Nathan Holt at EMOM

        Karl Hansson wrote:

        Hello Im new to this place and quite new to windows programming. I want to start to program with directx and I have read somewhere that you'll need to understand COM programming. And I also read somewhere that COM is getting replaced by .NET. Is it better then to learn .NET instead of COM? Or is it better to stick with COM? What is the difference between COM and .NET anyways? I'll be programming in C++ as I want parts of my application to be portable to linux. Will it be a problem to use C++ with .NET? Thanks Karl

        If you're using C++ for portability to linux, COM sounds like your best bet. COM provides a binery standard for using native code. .NET is based on a pcode system that is intended to be portable among windows systems. Nathan

        K Offline
        K Offline
        Karl Hansson
        wrote on last edited by
        #3

        Thanks Nathan. Do you know of any good COM books to read then? Karl

        N 1 Reply Last reply
        0
        • K Karl Hansson

          Thanks Nathan. Do you know of any good COM books to read then? Karl

          N Offline
          N Offline
          Nathan Holt at EMOM
          wrote on last edited by
          #4

          Karl Hansson wrote:

          Thanks Nathan. Do you know of any good COM books to read then? Karl

          I learned a bit from Inside COM by Dale Rogerson, but mostly, I studied the MSDN library, particularly the COM section and the Visual Studio section. In Visual Studio, the compiler COM support classes are good if you're just using COM objects. ATL is better for making them. Nathan

          K 1 Reply Last reply
          0
          • N Nathan Holt at EMOM

            Karl Hansson wrote:

            Hello Im new to this place and quite new to windows programming. I want to start to program with directx and I have read somewhere that you'll need to understand COM programming. And I also read somewhere that COM is getting replaced by .NET. Is it better then to learn .NET instead of COM? Or is it better to stick with COM? What is the difference between COM and .NET anyways? I'll be programming in C++ as I want parts of my application to be portable to linux. Will it be a problem to use C++ with .NET? Thanks Karl

            If you're using C++ for portability to linux, COM sounds like your best bet. COM provides a binery standard for using native code. .NET is based on a pcode system that is intended to be portable among windows systems. Nathan

            CPalliniC Offline
            CPalliniC Offline
            CPallini
            wrote on last edited by
            #5

            Does Linux support COM? :wtf:

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

            In testa che avete, signor di Ceprano?

            N 1 Reply Last reply
            0
            • CPalliniC CPallini

              Does Linux support COM? :wtf:

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

              N Offline
              N Offline
              Nathan Holt at EMOM
              wrote on last edited by
              #6

              CPallini wrote:

              Does Linux support COM?

              Not as such. However the OP only needed it for his Windows UI. The Mozilla group did create a cross platform version of COM called XPCOM, which does work on linux. Nathan

              1 Reply Last reply
              0
              • N Nathan Holt at EMOM

                Karl Hansson wrote:

                Thanks Nathan. Do you know of any good COM books to read then? Karl

                I learned a bit from Inside COM by Dale Rogerson, but mostly, I studied the MSDN library, particularly the COM section and the Visual Studio section. In Visual Studio, the compiler COM support classes are good if you're just using COM objects. ATL is better for making them. Nathan

                K Offline
                K Offline
                Karl Hansson
                wrote on last edited by
                #7

                Thanks for your help Nathan :) Karl

                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