billroper: (Default)
[personal profile] billroper
This is cute. In Visual Studio 2005, if you use CString::FormatMessage() in a way that generates an empty string, it throws a CMemoryException indicating that you're out of memory. Hilarity ensues.

What you should get is a nice harmless null-terminated empty string.

And maybe you do in Visual Studio 2008. But I'm not holding my breath.

Profile

billroper: (Default)
billroper

April 2026

S M T W T F S
    1 2 3 4
5 6 7 8 9 1011
12131415161718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 11th, 2026 04:19 pm
Powered by Dreamwidth Studios