Category Archives: Windows

A short (and round) history of the button

Early MacOS OK and Cancel buttons

The push button. It’s truly the blunt instrument of UI design. While most other controls provide some indication of the type of operation they’re performing – sliders are adjusting a value, a switch is moving between two states – buttons just mean “do something”. What? The only way to tell is to press it and […]

Also posted in Graphics, Mac, Usability | Tagged , , , , | Leave a comment

.NET DLLs Loaded Twice

There’s a bug in 32-bit .NET 2.0 where assemblies are loaded twice, wasting valuable address space.

Also posted in .NET, Debugging | Tagged , , , | 4 Responses

C++: The oldest new kid on the block

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

Also posted in C++, Rant, Software Development | Tagged , , , | 4 Responses

Am I being called from DllMain?

How can you tell if your code is being called from within DllMain? You could use an undocumented function from ntdll.dll.

Also posted in .NET, Debugging, Visual Studio, WinDbg | Leave a comment

.NET 4.0 Type Equivalence causes BadImageFormatException

Interop assemblies containing certain constructs will cause a BadImageFormatException in .NET 4.0

Also posted in .NET, COM, Debugging, WinDbg | Tagged , , , , , , | 6 Responses

Modifying the VC runtime to get better heap allocation stack traces

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?

Also posted in Debugging, Software Development, WinDbg | Tagged , , , | 3 Responses

Where’s my window?

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

Posted in Windows | Tagged , , , , , , | 2 Responses

A WPF custom control in F#

What F# language and syntax features are required to implement a fundamentally object-oriented WPF custom control?

Also posted in .NET, F#, Software Development, WPF | Tagged , , , | 2 Responses

Don’t do anything in DllMain… Please

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

Also posted in Debugging, Software Development, Uncategorized | Tagged , , , , | Leave a comment

FormatException in WPF DataBinding

A FormatException is generated by the WPF DataBinding diagnostics if the original exception text contains curly brackets.

Also posted in .NET, Uncategorized, Visual Studio | 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