Need some clarification
-
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
-
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
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
-
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
Thanks Nathan. Do you know of any good COM books to read then? Karl
-
Thanks Nathan. Do you know of any good COM books to read then? Karl
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
-
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
Does
Linux
supportCOM
? :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 -
Does
Linux
supportCOM
? :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 ClarkeCPallini 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
-
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
Thanks for your help Nathan :) Karl