I need to inject a dll into one or more external processes, from which I also want to intercept keybord events. That's why using SetWindowsHookEx with WH_KEYBOARD looks like an easy way to achieve both things in a single step.
Now I really don't want to install a global hook when I'm only interested in a few selected processes, but Wind...
Hello,
I am installing a new windows service coded in C# on a server. I installed the service fine on the server, but once i manually start up the service on a server, with the same login credentials that our other services use, i get the fatal error message notification:
"Could not start the %service name% on Local Computer. Error 106...
Hi, When trying to install
'bcrypt-ruby', :lib => 'bcrypt'
and
'hpricot'
I get this in both cases (Using Windows XP)
C:/Ruby/bin/ruby.exe: No such file or directory -- extconf.rb (LoadError)
I installed from here http://rubyinstaller.org/downloads/ Rb 1.8.6, including the devkit
any hints?, thanks
...
Cruise control service set to System - Allow user to interact with desktop for the service.
I log out with my user id and cruise control turns off.
Any idea what is going on here?
If I start the service a console window comes up. As soon as I close it cruise control also turns off...
I need it to always be on... any ideas?
...
Using a EM_SETEVENTMASK message can set which notifications a rich edit control sends to its parent window. How can I intercept/be notified of these messages?
Ideally, I'd have a callback that I could register with certain notifications.
...
I've recently got a new Mac laptop and am running VS2010 in a Parallels virtual machine. It's mostly working out well for me, but I'm having some problems with debugging specific project types, related to the fact that the projects are being accessed via a network share. Test projects don't run because the test runner can't load the te...
To optimize builds between Windows and Linux (Ubuntu 10.04), I've got a UNC share of the source tree that is shared between systems, and all build output goes to local disk on each system. This mostly works great, as source updates and changes can quickly be tested on both systems, but there's one annoying limitation I can't find a way ...
Hello, I am building a website on a windows server running apache and need to use a .htaccess file for pretty urls. If I add the .htaccess file it is just ignored, do I need to use somehting else? Is a .htaccess ignored on a windows server?
Thank you for the help.
...
I've already figured out how to add a menu item to the right click context menu of the windows explorer using the registry. I currently have it set to launch my application when my menu item is clicked.
However, I want to know if there is a way to know what file is was right clicked on. I thought it would have been sent as a command li...
I've been writing a small desktop gadget-type application that displays scrolling text along the bottom of the screen (Similar to the old CNN news ticker), however the performance of GDI is just unsatisfactory (As high as 8-12% on a quad core and 20% on a single core) even after I've attempted to clean out bottlenecks.
I was considering...
I'm getting an exception with a message of "Access Denied" when executing against a WMI request. Some WMI requests appear to require higher security privileges than others. Ultimately my goal is to monitor process launches within the system and log. Regardless if there is a better approach, its now become a vendetta in getting this WM...
Does this function affect Memory-mapped file performance?
Here's the problem I need to solve:
I have two applications competing for disk access: "reader" and "updater". Whole system runs on Windows Server 2008 R2 x64
"Updater" constantly accesses disk in a linear manner, updating data. They system is set up in such a way that updater ...
Is there a way to do a select() on a named pipe in win32? I want to have it block on the ReadFile call, but for only a few seconds, then if no data was received do some other work.
...
I have developed a network and I have around 30 users in my network.i created a domain and added all those 30 users into that domain everything working fine but whenever user logging into systems the process of logging is very slow they are getting the desktop some times after 5Min and sometimes very fast is it something because i added ...
I'm looking into porting a script engine written for Windows to Linux; it's for Winamp's visualization platform AVS. I'm not sure if it's even possible at the moment. From what I can tell the code is taking the addresses of the C functions nseel_asm_atan and nseel_asm_atan_end and storing them inside a table that it can reference during ...
In my code, I am using an array xyz of 10 objects. When I am trying to access an element of the array using an unsigned int index like this: xyz[level], I get 'Buffer overrun' warning. Logically, I am pretty sure that level won't exceed 10. How to avoid this warning?
...
Hi,
I am working on converting the EMF file to RTF file.
I am having a problem on converting the (x,y) coordinates (in EMR_LINETO record) to twips.
So please post the conversion factor.
...
Hi, i have to create a bat file that does this:
1 - If "C:\myprogram\sync\data.handler" exists, exit;
2 - If "C:\myprogram\html\data.sql" doesn't exists, exit;
3 - In "C:\myprogram\sync\" delete all files and folders except ('test','test3' and 'test2')
4 - Copy "C:\myprogram\html\data.sql" to "C:\myprogram\sync\"
5 - Call other bat ...
Hi,
I am writing some testing software that receives some source code, compiles it on the server, executes it, forward input from the database, catches output and compares it with one in the database to see if it is correct. The problem is that source code can be anything (it is written in c/c++ and compiled with visual studio cl), so ...
I noticed a few times than when I print-screen while Media Player is running, the content is replaced with a grey rectangle. I've no idea if it's deliberate due to DRM, or some technical issue, but it struck me that being able to deliberately block screen-capture might be a useful feature in some scenarios. I am not looking to fix the pr...