Comments (4)
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.
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.
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.
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)
- System DB gets locked. HOT 5
- Bodies orbiting barycenter "AB" missing on scan panel HOT 6
- unhandled fatal exception in EDD 17.0.1.0 - System DB gets locked HOT 17
- Error while trying to "Send to Inara Historic Data" HOT 3
- unhandled UI exception HOT 3
- Gas Giant orbiting center of 2 stars not added to graphical display HOT 4
- Unhandled fatal exception when starting EDDiscovery HOT 1
- Unhandled Exception While Removing a Tab HOT 4
- Constand "Unhandled UI Exception" error while using the Mining Overlay HOT 6
- Null ref exception when clicking "New" on toolbar HOT 1
- The app crashes when I open it HOT 2
- An unhandled fatal exception has occurred. HOT 1
- fatal exception after update to 17.0.2 HOT 4
- Enhancement: Market Data panel and Demand information. HOT 4
- Remember user data location HOT 5
- crash in search tab HOT 2
- Out of Memory Exception Adding system to Exploration HOT 7
- [Enhancement Request] Custom grouping for saved bookmarks. HOT 1
- Unexpected crash on start HOT 2
- Feature request: Make Voice Synthesis options saveable per voice and not global HOT 4
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 eddiscovery.