Comments (7)
I was able to reproduce the same issue here with a Release x64 build on Windows 10 Pro x64, so this is a confirmed bug.... to be investigated.
from quadifier.
After some investigation, I found that GetProcAddress is returning a valid pointer,
but Mhook_SetHook fails at this line:
/quadifier/win32/module/source/main.cpp#L556
MHook is a third-party library, so it's possible there might be an updated version with bug-fixes here. Further investigation is needed..
from quadifier.
I've just tried the latest MHook and the issue is still present, so unfortunately I'm not sure how to fix this, without debugging MHook itself.
from quadifier.
Hi,James
I get it.
the function name of "GetProcAddress" in kernel32.dll has changed on win10.
it is still reserved in KERNELBASE.dll. so just take replace kernel32.dll with kernelbase.dll. the bug will be solved.
module -> main.cpp code:
PFNGetProcAddress real_GetProcAddress = reinterpret_cast(
GetProcAddress( GetModuleHandle(L"kernelbase"), "GetProcAddress" ) );
from quadifier.
Hi Richard
Thanks, that's interesting! Last night I looked at both the 32-bit and 64-bit versions of kernel32.dll using depends.exe and GetProcAddress appears in both DLLs (with different ordinals, but the same name/decoration). Also, GetProcAddress was returning a valid pointer for kernel32/GetProcAddress, but failing at Mhook_SetHook, so I assumed the problem was there.
I'll take a look at kernelbase and the change as suggested above. Thanks!
James
from quadifier.
I've committed an attempted fix for this at c0e81b0, and tested on Windows 10 x64. This hasn't been tested on Windows 7 at time of writing.
from quadifier.
I'm closing this as it works for me now.
from quadifier.
Related Issues (16)
- Are you still working ont it? HOT 7
- Unity Scripts HOT 2
- Failed to inject? HOT 2
- Failed In Unity5.3+ HOT 16
- Needs to have "Show Unity Splash Screen" enabled in Pro HOT 5
- No StereoGL in Unity 5.4 HOT 6
- Four problems HOT 6
- Issue with building it HOT 6
- Is this limited to nvidia cards? HOT 2
- Fails to start when Graphic quality is “Beautiful” or above HOT 6
- Error with CreateRenderTarget at Quadifier.cpp line 1235 when antialiasing is enabled HOT 2
- Unity window not receiving mouse and keyboard events after dragging and dropping the window HOT 3
- Left/Right eye sequence is sometimes reversed HOT 2
- Nonsupport Directional light of Unity? HOT 2
- edge blend HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quadifier.