Stats
36,413
reputation
0
reached
0
answers
0
questions
Loading…
About
Win32 / C++ developer. (i.e. a dinosaur :)
I answer questions mainly in the winapi tag (which made it a hard slog to 20k let me tell you!)
I'm the main developer of a file manager (yes, there are alternatives to Explorer!) written in 100% C++/Win32 (no framework). Feel free to check it out at my website link.
Win32 tips based on often-asked questions:
- Don't call
GetLastError()
unless a function actually fails. IfCreateFile
doesn't returnERROR_INVALID_HANDLE
, the result ofGetLastError()
is meaningless. - Don't mix Ansi and Unicode strings. If you're getting an error passing a
char*
pointer to a function likeCreateFile
, casting it to(LPWSTR)
isn't going to help. - more to come...
Badges
View all badges
This user doesn’t have any gold badges yet.
13
silver badges
-
Yearling
× 13Nov 13
5
bronze badges
-
CustodianOct 11, 2015
-
CommentatorJul 28, 2015
-
CriticJun 26, 2015
Posts
This user hasn’t posted yet.
Top network posts
View all network posts