Its time for Plan B Bubi. It can't be done. You are either going to have to change the Window Class Name or the Window Title.
On the other hand, perhaps it could be accomplished through one of the EnumWindow Functions. Every Window has a different HWND. That would have to be the basis of any attempted solution.
I have found a executable that I can use to hide all the servers that are open. I am sure that it can be done ... maybe not with FindWindow , but I`m sure 100% that somehow it can be done ... anyone know how ?
1.locate windows by process ID not by title name
2. easiest - start your servers by your application with create process. Then you have control over all servers )showing, hiding, closing, sending messages, etc)
when I do this it returns only the first Console program ID
that's what it does - "Retrieves a handle to the top-level window whose class name and window name match the specified strings."
----
Start all your servers with CreateProcess (there are examples how to run application using this function) and store handles in array. Then manipulate them.
this is not the solution , trust me .. I have an executable made by someone and it works without changing the Start of the servers ... It works without that guy to know nothing about no CreateProcess.
I know that there is a solution to retreive all the ID , HWND , what ever of all the Console aplications with the same name and then HIDE them ...