I have a process in c++ in which I am using window API. I want to get the HWND of own process. Kindly guide me how can I make it possible.
Here is another answer:
this->GetSafeHwnd();