Giter VIP home page Giter VIP logo

Comments (4)

gregmalcolm avatar gregmalcolm commented on May 20, 2024

I take it you mean have a 32 bit and 64 bit offering and let the installer
choose? Some folks play elite on 32 bit OS.

I'll have a looksie in a bit to see if If I can find any other solutions.
On Jan 3, 2016 1:02 PM, "Robert Wahlström" [email protected] wrote:

processFilename = processes[0]MainModuleFileName;

Cant access 64 bit programs

Solve by making EDDiscover 64 bits maybee?


Reply to this email directly or view it on GitHub
#47.

from eddiscovery.

finwen avatar finwen commented on May 20, 2024

Via process id we can do

private string GetMainModuleFilepath(int processId)
{
string wmiQueryString = "SELECT ProcessId, ExecutablePath FROM Win32_Process WHERE ProcessId = " + processId;
using (var searcher = new ManagementObjectSearcher(wmiQueryString))
{
using (var results = searcher.Get())
{
ManagementObject mo = results.Cast().FirstOrDefault();
if (mo != null)
{
return (string)mo["ExecutablePath"];
}
}
}
return null;
}

from eddiscovery.

gregmalcolm avatar gregmalcolm commented on May 20, 2024

That sounds promising! It's been a long time since I've had to do this, but
that sounds like the kind of trick involved. Though I've done this more
with VB6 and C++ based apps.
On Jan 3, 2016 5:08 PM, "Robert Wahlström" [email protected] wrote:

Via process id we can do

private string GetMainModuleFilepath(int processId)
{
string wmiQueryString = "SELECT ProcessId, ExecutablePath FROM
Win32_Process WHERE ProcessId = " + processId;
using (var searcher = new ManagementObjectSearcher(wmiQueryString))
{
using (var results = searcher.Get())
{
ManagementObject mo = results.Cast().FirstOrDefault();
if (mo != null)
{
return (string)mo["ExecutablePath"];
}
}
}
return null;
}


Reply to this email directly or view it on GitHub
#47 (comment)
.

from eddiscovery.

robbyxp1 avatar robbyxp1 commented on May 20, 2024

Hi,

Commander Robby here (Robbyp on the forums).

I just downloaded it and compiled it, with some idea to see if I can help you in some way in the future ;-)

I'm having the same problem when I compiled it, just about to write a note on the forum then remembered I can report it this way.

Looking at the code, EDDirectory is only used in conjunction with editign AppConfig.xml, right? So it does not matter if you manually update AppConfig.xml.

There is a typo in line 998 of EDDiscoveryForm.cs, "Remeber".

I tried a 64 bit build, but it gives:

1>------ Build started: Project: EDDiscovery, Configuration: Debug Any CPU ------
1>C:\Code\EDDiscovery-master\EDDiscovery\Trilateration\Trilateration.cs(1,7,1,13): error CS0246: The type or namespace name 'Noesis' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Code\EDDiscovery-master\EDDiscovery\Trilateration\Trilateration.cs(781,17,781,34): error CS0246: The type or namespace name 'JavascriptContext' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Code\EDDiscovery-master\EDDiscovery\DB\VisitedSystemsClass.cs(69,21,69,27): warning CS0108: 'VisitedSystemsClass.Update()' hides inherited member 'VisitedSystemsClass.Update()'. Use the new keyword if hiding was intended.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I've not done any more digging into that.

Cheers

from eddiscovery.

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.