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

February 2026

S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 1718192021
22232425262728

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 18th, 2026 04:18 am
Powered by Dreamwidth Studios