Heap allocation stack traces are useless when using certain versions of the MSVC runtime. Is it possible to modify and rebuild MSVCR80 to avoid this?
Tag Archives: c++
Where’s my window?
Where’s my window gone? I’m sure I left it around here somewhere…
Beware of using stack-based COM objects from .NET
COM objects that don’t have the expected lifetime can cause chaos when combined with .NETs garbage collection system.
Don’t do anything in DllMain… Please
Thinking of adding some code to your DLLs DllMain function? STOP!
Comparing lambdas in C++ and F#
Lambdas in C++ and F#: compare and contrast.
Finding the largest free block of address space
I’ve been seeing problems recently with fragmented virtual address space. During the lifetime of a process, bits and pieces of memory are allocated throughout the 2GB 32-bit address space to such an extent that large contiguous blocks of free space are no longer available. If anything subsequently requires a large block of memory (like, for [...]
Static libraries are Evil
In my opinion.
Why? Well, because it’s too easy to use them as an excuse for not defining your shared library interfaces properly.
The reason this is on my mind recently is that several hundred, yes, you heard that right, several hundred DLLs have been released by my group over the last, ooh, 10 years or so. [...]
