Open ciphernemo opened 8 years ago
Troubleshooting this more, and still no success.
1.) Extracted the zip archive into its own folder structure 2.) I tried most of the samples included for AutoHotkey. Using ANSI 32-bit compiler, compiled each. 3.) Downloaded the GFXTest app you tested this library with. Using that for process/window. Making sure it was set to DX9. Tried 2d and 3d modes, different resolutions, etc. 4.) Current user is part of Administrator group, but also tried running the compiled samples as actual Administrator. 5.) The executables for each sample loads, the key bindings (hot keys) work, and in the framerate one the dialog window appears. 6.) Nothing is every overlayed. No error message at all, no nothing. I think something has changed in DirectX or Windows that completely breaks this overlay from working. So is this project dead?
Hello,
you pointed out that the current Windows user is a part of the administrator group but did you try running the compiled executable with administrator privileges?
Thanks for the reply, good to know you're still around here. :-) The Administrator group has Administrator privs. I also tried running the compiler as the Administrator user itself.
Hm, this sounds really strange. Did you try running the example C++ or C# application? Maybe AutoHotKey is the problem.
Good idea. I'll try one of those to test with C# and report back.
I'm at the point of giving up on this library and going to roll my own DX9 injection.
I'm not sure why this DX9 Overlay API isn't working. I've back-tracked to even the simple "hello world" AutoHotkey script to test with the GFXTest app (GFXText.exe). The samples don't work.
1.) The dx9_overlay.dll is loading properly. 2.) The WatchProcess function is being called, and overlay_ids are getting the results from CreateOverlays function. 3.) The process name is correct. Verified in the sample code after compiling it using AutoHotkey ANSI 32-bit. And confirmed that process is running in the task manager. 4.) Set GFXTest to DirectX9, and confirmed it's running just fine. 5.) No other DirectX 9 hooks are active on my PC I think, but not sure how to confirm this? 6.) Just to be sure I downloaded and installed DirectX 9.0c runtime library (last released by Microsoft) since my system is using DX11. I confirmed that DX9.0C now exists on the system with a legacy DXText.exe tool (it's dxdiag.exe these days). 7.) I tried running GFXTest.exe in 2D mode, 3D mode, 640x480, 800x600, and 1024x768. 8.) The hello world.ahk script was compiled with ANSI 32-bit version of AutoHotkey and compiled and runs just fine as an executable. It includes overlay.ahk just fine. It loads the dx9_overlay.dll file just fine. I can use Alt-X to exit it. But Alt-T never shows the Hello World text in GFXTest.exe
Thoughts to troubleshoot this? Thanks.