473,624 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

COM/ATL/OLE/ActiveX vs .NET

101 New Member
I was originally all gung-ho about C++ programming on windows, but have realized it to be a colossal amount of effort to learn. You have to learn COM/DCOM and ATL. Then, there's OLE and ActiveX, plus MTS and a whole lot of other technologies.

The question is, if I throw all this to the wind and opt for c#, will I be limiting myself?

But before you answer that, I'll give you an idea of what I want to do:

I want to go beyond windows forms and be able to create my own designs, implementations and behaviors and not be at the mercy of Microsoft's API. I'd like to make my windows opaque, draw them pixel for pixel, and render 3D objects within my windows.

I also want to do networking programming, and have it be as efficient as possible. I would like to be able to work with the network stack as closely as I can without too many layers or wrappers.

And, I want to be able to use opengl and directX applications that take over the desktop, such as in a videogame.

Here's a list of applications that do what I'd like to be able to do:
-Audacity
-winamp
-steam (valve's content system)
zsnes (super nintendo emulator)

So, should I keep on trucking with COM/ATL and OLE?, or opt for something else?
Aug 26 '07 #1
3 4139
drhowarddrfine
7,435 Recognized Expert Expert
I was originally all gung-ho about C++ programming on windows, but have realized it to be a colossal amount of effort to learn. You have to learn COM/DCOM and ATL. Then, there's OLE and ActiveX, plus MTS and a whole lot of other technologies.
Then next year Microsoft changes it on you. I feel your pain.
I want to go beyond windows forms and be able to create my own designs, implementations and behaviors and not be at the mercy of Microsoft's API. I'd like to make my windows opaque, draw them pixel for pixel, and render 3D objects within my windows.
With .NET, you can't help but go through that framework to get at anything. I believe it might still be possible, but can't help but wondering how much things get slowed down by all these layers. What you mention can be done with Linux/Unix/BSD, just not Microsoft Windows stuff.
I also want to do networking programming, and have it be as efficient as possible. I would like to be able to work with the network stack as closely as I can without too many layers or wrappers.
Again, easy with Linux/Unix/BSD.
And, I want to be able to use opengl and directX applications that take over the desktop, such as in a videogame.
Too bad you insist on Windows. Most graphics research is done with Unix, et al.
Here's a list of applications that do what I'd like to be able to do:
-Audacity
-winamp
-steam (valve's content system)
zsnes (super nintendo emulator)
Audacity is open source. Isn't Steam code available for Linux? I thought I had a copy of that.
So, should I keep on trucking with COM/ATL and OLE?, or opt for something else?
I think it's easier to create things on Linux/Unix, and then port them to Windows because *nix won't move around on you and you can get closer to the metal when optimization is necessary. We assembly language programmers have a tough time with .NET, not that we use it at all. I used to write graphics routines that interfaced with DirectX and COM. That wasn't too bad except trying to follow the documentation around and the multitude of required setup function calls and attributes in those functions. Things have just gotten way too complicated.
Aug 27 '07 #2
zensunni
101 New Member
First off, sorry for the late reply.

Secondly, everyone does tell me to go with linux. Don't worry, I will probably do most of my work on linux/unix systems when I take that dive. In fact, I'm really looking forward to it.

But I still would like to be able to make good, flexible windows programs if the need be. I've set aside my study time for windows and I hope that "use linux" isn't the only gained knowledge I take out of it.

You said that you ported Linux programs to windows? How was that done? I can understand for simple programs using std, but how are windows and graphical renderings ported?

Thanks again for the thoughts and ideas.
Oct 3 '07 #3
drhowarddrfine
7,435 Recognized Expert Expert
No. I've not ported anything to Windows from Unix.
how are windows and graphical renderings ported?
You can use OpenGL on both systems but if you write your own custom rendering engine then the only difference will be the output to the screen/graphics card using DirectX. Many of the drivers for graphics cards are also available on Unix so we can write to that hardware just like DirectX can, just different library calls. But the only difference between a Unix program and a Windows one would be just that, the library calls (generally).
Oct 6 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

8
4555
by: AnalogKid | last post by:
Short question: What's the difference between SingleUse and MultiUse ? Long question: I've been writing some sample code to see how different Instancing values and threading models work. I tried all main combinations of Instancing (Multiuse/Singleuse) and of Threading models (per object/pool). Here's what I found: MultiUse - Thread per Object
1
5979
by: wang xiaoyu | last post by:
Hello: i want use activex in wxpython program,but when i use MakeActiveXClass an exception occurs. this is my source code dealing the DICOM ocx.I must note that in this program "hwtxcontrol" is a ocx developed my me use vc6,this ocx works fine in wxpython. but you can see i only change this ocx with a new DICOM ocx and set up eventClass,
2
7563
by: Fie Fie Niles | last post by:
This one XP machine (with IE 6) is having a problem viewing any ActiveX controls (created on VB6) on the Internet Explorer browser. I put the same ActiveX control in a VB program, and when I run the VB program on that same machine, I can view the ActiveX control fine. He is using Citrix. The same ActiveX controls can be viewed on other machines. When trying to view 1 of the ActiveX control, he got an error "Visual Basic Run-time redist...
6
2584
by: Pippen | last post by:
I'm getting a little confused about what is supported in MS-SQL ActiveX and what is Visual Basic and what is VBScript. Can someone please point me to a website, recommend a book or if I've missed it where in the MS-SQL help that deals with the ActiveX supported in SQL. I'm not looking to do web pages ASP, ect. I'm looking to use the ActiveX as add on funtionality to support the Stored Procs I write. Thanks, -p
12
2573
by: A.M. | last post by:
Hi at all, how can I do to insert into a HTML page a file .txt stored in the same directory of the server where is the html file that must display the text file.txt? Thank you very much P.Pietro
0
7120
by: Ike | last post by:
I have an Activex Control created in VB6, which, displays no problem on any machine I have, but, on some machines of others, it does not. All machines are running either XP or Windows 2000, and all are running MSIE6.x, woth security settings set to display this control. For the life of me, I cannot figure out how such a simple control can be so sporadic in it;s showing on a page. It always downloads - it just doesn't always show. I'm...
18
8402
by: DartmanX | last post by:
Is there a simple way to determine if someone using Internet Explorer has completely disabled ActiveX controls? Jason
7
4391
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do ActiveX controls that are to be used by a pda need to be written in the ..net compact framework, or am i missing something else here? i have a HP iPaq 2490 with Windows Mobile Premium installed While i'm at it; does a activex control allow you to...
4
6784
by: Wilfried Mestdagh | last post by:
Hi, I have a C# application (VS2005) with Microsoft Mappoint activeX control on a form. At a certain moment I want to create a second one temporary in code. This seems not to work, when I try to access it I have an InvalidActiveXState Exception. I cannot find mutch on the web about this Invalid State of a component except that it is invalid (what the Exception already describe). So I hope someone here knows ?
6
8043
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll .dll I can not call the functions in the ActiveX component. In the next step I tried to use the ActiveX component in a class library. I simply added a reference to the corresponding COM component. This this only
0
8242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8681
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8341
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8488
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4183
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2611
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1488
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.