Giter VIP home page Giter VIP logo

Comments (6)

mxmauro avatar mxmauro commented on June 28, 2024

I recommend to run and inspect the CSharpConsole sample. It lists processes and much more.

from deviare2.

ranjith-juhomi avatar ranjith-juhomi commented on June 28, 2024

@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.
image

from deviare2.

mxmauro avatar mxmauro commented on June 28, 2024

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.

ranjith-juhomi avatar ranjith-juhomi commented on June 28, 2024

@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.

mxmauro avatar mxmauro commented on June 28, 2024

Ok, 0x80070005 maps to ERROR_ACCESS_DENIED

Try this please:

  1. 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.
  2. Test you app also in C:\something.
  3. 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.

ranjith-juhomi avatar ranjith-juhomi commented on June 28, 2024

We ran Sysinternal's ProcMon for the app and we don't see any access denied permission issue.

from deviare2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.