In our day to day, in our developments, it is a rare case when we don’t need to read a configuration file. There are many techniques for its treatment such as a static class, a singleton class, etc. It is also normal to make this config class to be accessible throughout the project.
We will write a utility [...]
There is an IsValidInterface function in ole32.dll, but it is not being used now. A shape of a function is alive and may be used internally. In Windows, many programmers are using IsBadReadPtr to validate a pointer and it’s useful. Just like this, if you are programming with COM, there is a need for a validation method like COM’s version of IsBadReadPtr. However, [...]
This article demonstrates how to create a COM DLL in Visual Studio 2005 the easy way.
To learn how to register your COM DLLs, see my article “Registering COM DLL with VS 2005 Walk-Through“Background
As the only developer for a printing company, I get the privilege of maintaining lots of [...]
The original article: COM Number Speller.Introduction
Some time ago, I needed to print numbers as text in Excel (Office 2003 as far as I remember). Searching the internet, I found a solution for [...]