C++ programming on Cloud 9

A weblog dedicated to Visual C++, interoperability and other stuff.

Browse by Tags

All Tags » Windows Platform » C++ (RSS)
Practical ATL: Solving the race condition in CAtlExeModuleT
When I was spelunking through the ATL header for my previous articles (the class object plumbing) I discovered that there is a serious race condition in the server lifetime management. I contacted the Microsoft C++ folks, and someone from the libraries...
Practial ATL: Implementing a non-standard class object
In my previous article in this series, I explained how class objects are associated with COM objects, and how it all fits together. Armed with that knowledge, I can now demonstrate how to provide a custom class object that will allow us to support parameterized...
Practical ATL: Understanding the class object
In my previous article in this series, I explained how to create a simple COM server and implement a method that returns an enumerator object. It was all done very easily, but the ATL wizards hide some of the things that you really ought to know for my...
Getting started with ATL
I am currently working on some projects where I have to program a DCOM server. There are several reasons why it has to be DCOM and C++, instead of e.g. .NET remoting and C#. The biggest pain (imo) about DCOM is that the technology stems from an era when...
Backing up event logs in their normal binary format
Some time ago I was looking for a way to make backups of the eventlogs of our server, preferably without me ever having to do anything anymore J This was not success. There are a couple of tools to make text exports from eventlogs. These have the disadvantage...
My latest article in NTInsider
A bit late perhaps, but my latest article on API development got published in the NTInsider (owned by OSR Online ). The online version can be found here . It requires free registration. I know that at least 2 people have read it completely, because that...
How DLL exports really work
I found this list of article on Raymond's blog . Raymond's blog is one of the more interesting for programmers who use native APIs because he often touchs on things that are not documented, but interesting to know if you care about how things...
The ancient art of circles and lollipops, part 2
Some time ago I started learning COM server programming by creating a COM server from scratch, using only the raw Win32 API functions. I started out with a very basic server, and then added new functionality with each new 'release'. Since there aren't...
The ancient art of circles and lollipops
Since I will have to do COM in my new job, I wanted to make sure I knew COM inside out. I have used COM before, but only client side. I never wrote a COM server. So I decided to finally work my way through ‘Essential COM’ to learn the nitty gritty details...
Source code for the user mode part of my USB tutorial driver
Sometime ago I wrote 2 length articles on writing device drivers, using the new Kernel Mode Driver Framework that is the bees-knees when it comes to kernel mode programming. Of course, I had to have a demo application to interact with the device drivers...