Tag Archives: win32

C++: The oldest new kid on the block

Is C++ coming back to a warm welcome from Microsoft?

Posted in C++, Rant, Software Development, Windows | Also tagged , , | 4 Responses

Where’s my window?

Where’s my window gone? I’m sure I left it around here somewhere…

Posted in Windows | Also tagged , , , , , | 2 Responses

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.

Posted in .NET, COM, Debugging, Software Development, WinDbg | Also tagged , , , , , | 3 Responses

Don’t do anything in DllMain… Please

Thinking of adding some code to your DLLs DllMain function? STOP!

Posted in Debugging, Software Development, Uncategorized, Windows | Also tagged , , , | Leave a comment

The 7 signs your UI was created by a programmer

Programmers are notoriously bad at creating good user interfaces. How can you tell if your app was designed by a programmer? (Hint: it’s easy).

Posted in Excel, Rant, Software Development, Usability | Also tagged , , | 47 Responses

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 […]

Posted in Software Development, WinDbg, Windows | Also tagged , , , , | 2 Responses

Diagnosing out of memory errors with VMMap

VMMap is a new tool from Mark Russinovich et al that’s very useful for diagnosing virtual memory/address space exhaustion issues. I describe it here, and give some information that should help you interpret what it reports.

Posted in Debugging, Software Development, WinDbg, Windows | Also tagged , , , | 2 Responses

Programmatically checking memory usage

One of the things that’s useful in a pre-release check is do a regression test on the memory usage of your unmanaged functions. This should help to ensure that the fantastic new data structure you introduced doesn’t cost too much in additional storage for the order-of-magnitude performance improvement you were boasting about. Like most of my posts, this assumes […]

Posted in Software Development, Windows | Also tagged , , , | Leave a comment
  • Follow me on Twitter Follow me on Twitter @voyce

  • Check out Wordz my new fast-paced make-a-word game for iOS.
  • Categories

  • Archives