Comments (6)
I recommend to run and inspect the CSharpConsole sample. It lists processes and much more.
from deviare2.
@mxmauro - Thanks for the quick reply. I have tried with CSharpConsole sample also,
RunningProcess.From(_manager.Processes().CollectAll(), this)
the above statement _manager.Processes() is returning the NULL value. Please refer the attached ScreenShot.
from deviare2.
DeviareCOM(64).dll
exports a function named GetLastErrorCode
Import it using
[DllImport("DeviareCOM.dll")]
static extern int GetLastErrorCode();
And call it just after your Process
call returning null
so we can try to identify some error code.
from deviare2.
@mxmauro - As you suggested, I ran the code snippet and got this error code"-2147024891". Both in our sample application and CSharpConsole sample.
from deviare2.
Ok, 0x80070005
maps to ERROR_ACCESS_DENIED
Try this please:
- Download one of the binary releases here on GitHub, put them on a subfolder directly on
C:\
instead of a folder inside on your profile to see what happens. - Test you app also in
C:\something
. - Try to run Sysinternal's ProcMon filtered to the app to see if something is throwing the access denied and upload the log somewhere.
If you compile the whole Deviare source code, you may put a breakpoint on SetupErrorInfoAndReturn
function of DeviareCOM
(you must enable native debugger inside VS)
from deviare2.
We ran Sysinternal's ProcMon for the app and we don't see any access denied permission issue.
from deviare2.
Related Issues (20)
- winword hangs at startup HOT 12
- Missing external. HOT 1
- Placing hooks from .net dll cause hook connection to die
- how to hook fastprox.dll? HOT 7
- Nektra.Deviare2 not found HOT 2
- logging/printing all api calls of a hooked process
- Hooking undocumented functions and adding new functions into nektra's database HOT 21
- Antivirus blocks hooking HOT 3
- Question about Deviare-InProc HOT 1
- How to Hook a process as soon as it starts and check if the hook is active.
- online documentation gone
- contacts page does not work HOT 1
- Deviare DB rebuilt error HOT 1
- appcrash on "Remove All Hooks" with CSharpConsole HOT 5
- CNktDbModuleImpl::DbFunctions
- sample project of external file access monitor HOT 1
- How to hook `sublime` function? HOT 1
- [Python] how to use CreateHookForAddress? HOT 1
- Compiling 'CRegistryPlugin' for 'x86'
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 deviare2.