Everything about programming for Microsoft Windows, by Raymond S. Chen, including matters like security, error handling, source code organization and documentation.
Editor reviews are provided by professional editors who evaluate a blog based on the following criteria: Frequency of Updates, Relevance of Content, Site Design, and Writing Style.
Today we're going to take a little trip in the wayback machine
with the help of my colleague Seth Manheim, who was there when this happened.
Set the date to November 22, 1989, twenty years ago and one day.
Bill Gates is being taken on a guided tour
of...
Last time,
I presented a puzzle regarding a memory leak.
Here's the relevant code fragment:
CComPtr pMemoryStream;
CComPtr pReader;
UINT nDepth = 0;
//Open read-only input stream
pMemoryStream = ::SHCreateMemStream(utf8Xml, cbUtf8Xml);
The problem...
A customer reported that there was a leak in the shell,
and they included the output from
Application Verifier
as proof.
And yup, the memory that was leaked was in fact allocated
by the shell:
VERIFIER STOP 00000900 : pid 0x3A4: A heap allocation was...
Nothing profound today, just a little tip.
My customer is looking out for a way to change the location
of the windows.edb file to another (larger) drive.
From the Indexing Options Control Panel, click Advanced,
and then under Index location,...