C++0x ?

Hello

I’ve been looking around and was surprised that there will be a new C++ standard and additions dubbed “C++0x”.

According to Bjarne Stroustrup, “the new standard will be almost 100% compatible with the current standard”.

Some of the features I like about this new addition are:
– atomic keyword (for uninterruptible code)
– thread local storage
– asynchronous calls through the “future” keyword
– implicit function calls (as if using properties in other languages)
– parallel execution

The good news for some, probably bad news for eager ones is that the C++ Standards Committee aims to introduce the new standard in 2009.

Reference:

Emulating CoCreateInstance()

Introduction

A while ago I wrote a small utility that converts DOT syntax into an image using
the WinGraphViz.DLL COM component.

However it is not very usual to have the user register this component before
running the tool, thus I started looking around for a way to use COM component
as if they were normal DLL.
The research yielded that there are many techniques to accomplish that:

  1. Registration-Free COM (for XP and above)
  2. Emulating the CoCreateInstance()

To learn more about the Registration-Free COM please check the references at
the end of this article. Continue reading “Emulating CoCreateInstance()”