this post was submitted on 11 Dec 2023
93 points (96.0% liked)
Programmer Humor
32371 readers
545 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You didn't specify wide or ascii, we're all doomed.
I'm glad to to meet another Knight of 9x.
That's handled by virtue of
GetWittyReplyEx
being#define
d toGetWittyReplyExA
andGetWittyReplyExW
right? Just be aware thatnMaxReplyMessage
needs to be specified in bytes (excluding the null terminator!) but the returned length is in characters.well hopefully that's how you're writing it.
i've definitely found the ascii version of a syscall being called because that's what the linux project uses so why wouldn't the junior dev that was assigned the port do it too?
there's no
#define
that will save you from that. I may or may not have been that junior dev so no shade.NERD!