Look, I'm fairly new at this, but are you sure SelectObject is not supposed to be returning NULL? According to my docs, it returns the handle of...
Separate names with a comma.