I am making a program, when you run it, it finds hWnd of winAmp, and if its 0, itll ask the user 'winamp is not open, wanna open it, Y/N' if the user tYpes Y, it opens and then it finds hwnd again, but its too fast, so the hwnd is always 0, it tries to find it before winamp is fully open. How would I fix this? or go around it?
