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

January 2026

S M T W T F S
     1 2 3
4 5 6 7 8910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 12th, 2026 04:47 pm
Powered by Dreamwidth Studios