process

Could we have 2 DLLs with the same name being loaded in one process

I am talking about win32 dlls, those plain pe files. I am confused after I doing a test compared to what I saw in explorer.exe process. I wrote a test with following modules:(C++) DLLLoader.exe links to A.dll in the same folder. B.dll links to A.dll(2) in another folder. (A.dll(2) is a totally different DLL from A.dll, but with the sam...

how can i creating window station and windows desktop using c#

i would like create new window station & windows desktop and attach my process to it. how can i do that i need to know Creating Window station and attach my desktop Creating & switching between Desktop effectively how do i attaching process to winlogon desktop(if it is possible ) Destroy created desktop and return back to windows des...

Simulating a network down to particular process

I am trying to simulate a scenario where connection to the server of one process is down while the connection to another server is up. Just pulling the network cable won't work in my case since I need another process connection to stay up. Is there any tool for this kind of job? I am on Windows. Thanks! ...

System processes in Unix

One book on Unix programming says The init process never dies. It is a normal user process, not a system process within the kernel, like the swapper, although it does run with superuser privileges. What makes a process a system process? Is the system process embedded within the kernel code? Do all system processes run with superu...

Determine a process's architecture

Is there a programmatic way to find out what architecture another process is running as on Mac OS X 10.5 and later? Examining the process's image file is not a solution, as the image is likely to contain multiple architectures, and between arch(1) and the “Open in Rosetta” and “Open in 32-bit mode” checkboxes, there's no way to tell fro...

Python script performance as a background process

Im in the process of writing a python script to act as a "glue" between an application and some external devices. The script itself is quite straight forward and has three distinct processes: Request data (from a socket connection, via UDP) Receive response (from a socket connection, via UDP) Process response and make data available to...

How to instantiate DataReceivedEventArgs or be able to fill it with data?

Im starting a process and redirecting it error stream to be able to parse it and know what happened. Im doing it in such a way: _proc.ErrorDataReceived += new DataReceivedEventHandler(NetErrorDataHandler); where NetErrorDataHandler have the following signature: private void NetErrorDataHandler(object sendingProcess, DataReceivedEvent...

What is a scalable process of Project Management in Small Development Firms?

We have a small company team and even smaller Development team. The current process is that each Sales Rep (SR) is the actual Project Manager of each web application sold. Developers obtain requirements, functionality and design from the SR directly. Giving the actual head of developers to visibility over the actual work load on the d...

How to open a process for opening file in Android?

I have a doc file in my project located at /data/data/........./files/abc.doc I want to open this file like the Android built-in feature to open file. I want this through my Android application. Can anyone help me? It is urgent. ...

What online tool could be use to keep gantt charts or similar for all team members?

We want to keep an online gantt chart for all developers, so we can view task load. ...

c# SendKey to a hidden window

I have a window which is hidden and I would like to send a keypress to it. An example of what I'm trying to achieve is an app that will send the key F5 to a web browser which wasn't the active window. The web browser would know to refresh the current page when the F5 keystroke is received. I would also like to send a combination of ke...

Python: Run a process and kill it if it doesn't end within one hour

I need to do the following in Python. I want to spawn a process (subprocess module?), and: if the process ends normally, to continue exactly from the moment it terminates; if, otherwise, the process "gets stuck" and doesn't terminate within (say) one hour, to kill it and continue (possibly giving it another try, in a loop). What is t...

Calculate CPU usage for a process

Given a process ID, how can i get the cpu load from this process with C#? I have tried using PerformanceCounter as described in http://stackoverflow.com/questions/1277556/c-calculate-cpu-usage-for-a-specific-application I have also tried to manually take two values of the total cpu time for the process within a timeframe and divide the...

Apply kanban in an agile team

How can I apply kanban to an agile team using XP? Any good advices, articles books? ...

Launch process on server from asp.net codebehind and have it visible on server desktop

I have a program running on my desktop machine that makes a WCF service available. This is a regular Windows Forms application that I run when logged in as a normal user. I put the WCF interface in so that I could see the status of the program from an external web page. This works great, I can see the status of the running program and...

How to detect a Kill Process event

In C# i using process.Kill() kill a process, at the same time in killed application how to detect this event? BTW: Application.ApplicationExit event has not been fired! ...

How do I start a process with idle priority in .Net

I'm using System.Diagnostics.ProcessStartInfo to set up the parameters for launching a process from a .Net program. Once the the process is started, I can use myProcess.PriorityClass = ProcessPriorityClass.Idle to change the priority for the process to idle, so that it only runs in the background, and doesn't hog my CPU power. Is the...

Call method in already running .NET assembly from different app.

I don't know if you can do this, but basicly I need to be able to call a method in already running .NET process from a different assembly that don't share the same process. Basically what I have is a application and when it calls a .net method it loads the assembly that contains that method into into a appdomian and then calls the metho...

Constantly update a form with a processes standard output

I have a C# form that has a text box that needs to constantly update with the output from an exe while the exe is still running. I know how to update it after the exe has finished but its the constant updating that i need. ...

running process in backround using a bash script

I want run a script as follows: runner: ssh 'java program &' ssh 'java program &' How do I write the script to fork the first process? Currently, it waits for it to finish. thanks ...