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.

Date: 2008-02-24 12:15 pm (UTC)
From: [identity profile] scs-11.livejournal.com
I will refrain from my usual MS-bashing, but lordy, how in the world did that not get caught in testing?

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 12:45 pm
Powered by Dreamwidth Studios