Comment

Comment by scarface74

Consistency?

Let’s start with strings...

- the standard null terminated single byte char C string

- the double wide null terminated C string required for dome frameworks - especially Windows CE

- the COM BSTR where the first two bytes are the length

- the ATL bstr_t

- CString that isn’t a null terminated C string

- of course the C++ string class. I’m not sure if this is ever used by the Win32 APIs

I’m sure I’m missing one.

parent scarface74 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton