'dht' does not name a type

Why three?

Please remember to use code tags when posting code