Hello folks :)
Allow me to introduce myself. I am Haktivex, a programmer for a tool known as TibiCAM, used to record movies for an online game known as Tibia.
Now heres the issue. For a long time we supported all operating systems, Windows 98, ME, etc. However recently these operating systems have stopped working. Some things to note:
1. We switched compilers (Microsoft Visual C++ Express) - Originally was compiled on Visual C++ 6.0
2. Compiling on Visual C++ 2003 did not help either.
3. None of the FindWindow code was changed.
4. Works fine on XP, etc.
When running on Windows 98/ME, instead of FindWindow finding the Tibia client, instead it finds DLL files, usually something like directx files, and some people have reported it finding Gadu-Gadu (IM program) files.
I have considered that the issue could be caused by ansi/unicode but I have no grounds to confirm this consideration. It could also be the compilers. Would anybody suggest that the Visual C++ 6.0 be used? Or is there something we can change with our current compilers/IDE's to get support back?
Here is the single line of code that is giving us so much trouble:
HWND hTemp = FindWindow("tibiaclient", NULL);
Thanks alot,
Haktivex.