Quote Originally Posted by vcdebugger View Post
try to use this->GetDC()

or GetDC(this->hwnd)
Those produced different errors respectively:

GetDC() is not a member of DownloadCommand

hwnd is not a member of DownloadCommand