Oh man, I just wasted too many hours of my life trying to figure out why calls to glBlitFramebuffer in my iOS app were returning GL_INVALID_OPERATION. I was targeting iOS 7, so I should’ve been able to use OpenGL ES 3.0 calls, and after all, I’d built against the v3 headers and everything else was […]
Wow, it’s been a ridiculously long time since I’ve blogged. I think it’s time I put something up just to break the curse, and this seemed like a good, and hopefully useful, place to start. Time to polish some of these dusty drafts into published gems. Ever been in that situation where you (or someone […]
There’s a bug in 32-bit .NET 2.0 where assemblies are loaded twice, wasting valuable address space.
How can you tell if your code is being called from within DllMain? You could use an undocumented function from ntdll.dll.
Interop assemblies containing certain constructs will cause a BadImageFormatException in .NET 4.0
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?
COM objects that don’t have the expected lifetime can cause chaos when combined with .NETs garbage collection system.
Thinking of adding some code to your DLLs DllMain function? STOP!
I’ve just noticed a nice little feature in Visual Studio 2010 Beta 2: pinned DataTips. Values displayed in the debugger as you hover over a variable can now be pinned in place and remain aligned with the source. They can even have annotations added… Tasty!
How do you find the unmanaged COM object that’s being referenced by a .NET object?