I faced the same problem..found out problem..
Simple solution... the use of FindWindowA techniques will work only when the Title of the window is same as the one you will be using for this function..
same above ex.
val = FindWindowA( 0, "MyApp Main Window" )
Your window title...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.