how to load API on Windows 7? -


my intention able sucessfully load .dll file hook windows api. have researched , tried extensively, without success, method load .dll file on 64bit machine running windows 7. 2 solutions have tried include loading path of .dll registry keys:

computer/hkey_local_machine\software\microsoft\windowsnt\currentversion\windows\appinit_dlls

or

computer\hkey_local_machine\software\wow6432node\microsoft\windowsnt\currentversion\windows\appinit_dlls

please don't me wrong, there many online resources explaining how load apis registry, none of them have worked me. apologize if answer question obvious, have tried could. time , help!

don't use appinit_dlls mechanism dangerous , can lead crashes , loader-lock deadlocks in other applications (see great raymond chen has on subject). if absolutely, positively must use mechanism can only call functions in kernel32.dll. no runtime calls at all.

a better option using detours library


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -