I have been able to use logman with some success to dump some kernel traces. However, I'd like to be able to programatically enable real-time consumption of kernel events (mainly thread/process creation/deletion and file I/O) in my application. What is the best approach to this task?
...
Where can I find the windows certificate store location on the hard drive for server 2003. I am coding a c# utility for managing few certificates we use to notify when they are expiring. So, I choose to store them in the windows certificate store. Instead of using any existing location(Personal...) that I see in MMC I would like to creat...
Is it possible to know which processes are running using Qt 4? I'm looking for a way to wait until an application is closed by the user to make an operation.
...
What are the reasons a malloc() would fail, especially in 64 bit?
My specific problem is trying to malloc a huge 10GB chunk of RAM on a 64 bit system.
The machine has 12GB of RAM, and 32 GB of swap.
Yes, the malloc is extreme, but why would it be a problem? This is in Windows XP64 with both Intel and MSFT compilers. The malloc sometim...
Our service tends to fall asleep during the nights on our client's server, and then have a hard time waking up. What seems to happen is that the process heap, which is sometimes several hundreds of MB, is moved to the swap file. This happens at night, when our service is not used, and others are scheduled to run (DB backups, AV scans etc...
I'm trying to invoke an asynchronous RPC call with a pipe parameter. I call RpcAsyncInitializeHandle(), start the call and then call the "push" function of the pipe in a loop. This works fine on Win2k and WinXP, but not on Vista.
On Vista regardless of the buffer length passed exactly the 34th call to the "push" function causes an AV in...
I have an application that uses RPC for interprocess communications. Turns out that synchronous RPC pipes used with "ncalrpc" protocol sequence are not alowed on Vista. I want to switch to "ncacn_np" and use RpcServerRegisterEpEx() with RPC_IF_ALLOW_LOCAL_ONLY flag.
Has anyone tried the same yet? Are there any possible problems associat...
Every time I experiment with a new language, compiler, interpreter, tool, or whatever, and I want to run that from the command line, I would have to go to System and change my PATH variable. However, the box to put the monster string in consists of only a 1-line text box. I frequently find myself having to copy/paste the PATH string into...
I'd like to do some custom drawing to my windows desktop such that it appears to replace the desktop background (wallpaper). My first try was to get a DC for the desktop's listview and draw to it:
IntPtr desktopDC = GetWindowDC(desktopListView);
Graphics g = Graphics.FromHwnd(desktopDC); <-- fails on out of memory error
I then tried t...
Are semaphores released FIFO, random, or using some other algorithm? Does the algorithm avoid starvation?
...
I'm seeing this error when I run: rake/gem from my Git Bash. Anyone know what it means?
sh.exe": /c/Ruby/bin/gem: D:/Users/Luis/projects/oss/oci/installer2-trunk/ruby/bin/ruby.exe^M: bad interpreter: no medium
Running under Windows/Cygwin - specifically in the Git Bash shell.
...
I have a pointer to a given class. Lets say, for example, the pointer is:
0x24083094
That pointer points to:
0x03ac9184
Which is the virtual function table of my class. That makes sense to me. In windbg, everything looks correct.
I delete said pointer. Now at 0x24083094 is:
0x604751f8
But it isn't some random garbage, that ...
I need to write a small program for the university. The problem is, it has to be in C/C++ under linux, and I've never used linux, I anticipate having a lot of problems with the IDE, compilation, and all that.
Is it possible to code it under windows and then "copy/paste" the code and compile it under linux? What are limitations I should ...
Not sure if this is the appropriate place for this question, but it seems related to threading and system resources and all that.
Why Does my Task Manager show that the System Idle Process is using 90%+ of the CPU power when I have 3 different processes going!?!?
Is it because of I/O bottlenecks?
For example, if I do an SVN checkout, ...
I know it sounds stupid but:
I've found this application written on Mono and it is open source.
While peeking at the source code I've found this two "using" directive that stoped me:
using Gdk;
using Mono.Unix;
I guess they're Mono specific libraries.
So, it is possible to run Mono under Windows? ( perhaps Visual Studio express e...
I'm looking for a cat for aac music files (the stuff iTunes uses).
Use Case: My father in law will not touch computers except for audiobooks he downloads to his iPod. I have taught him some iTunes (Windows) basics, but his library is a mess. It turns out, that iTunes is optimized for listening to podcasts and random songs from your libr...
How can I reassign default keyboard shortcuts (such as Win+E to open an Explorer window) in C#?
...
There does not appear to be any good software to mount an FTP to a local drive letter (see here for details SF Question) so I was thinking why not just write it myself, but I have very little experience dealing with windows (at the programming level) so what would be involved in doing something like this? What needs to be done to get a ...
Hi,
I am working on an Asp.net website with 4 other people. The problem we have is what kind of hardware setup do we need in order to enable team development?
We have four individual desktop computers what other hardware would we need?
What other development software would be ideal for such development?
...
Hi,
I noticed that when a process starts for the first time, it statically reads some system parameter info only once and keeps it until terminated
which means,
that if there is some modification to the system parameters already read by the process, they wouldn'y reflect until the process is restarted.
e.g. Launch Notepad and type ';...