windows

Detailed description of HID device (USB)

Hi all. I conected my bardcode scanner to USB port. I needed to change the mode from HID keyboard to serial port emulation (the reader is know seen by the system as regular HID device and not a HID system keyboard) to get data from scanner directly to my app. And It's all working great. The problem is that I need to know a VID and PID...

How can I read the bandwidth in use over the PCIe bus ?

I'm working on a streaming media application that pushes a lot of data to the graphics card at startup. The CPU is doing very little at the point when the data is being pushed, it idles along at close to zero percent usage. I'd like to monitor which machines struggle at pushing the initial data, and which ones can cope, in order that I...

Restarting Hudson on Windows

I've been having an issue with Hudson on windows. Whenever I update Hudson or a plugin I get the option to restart when no jobs are running. If I click this button Hudson hangs and doesn't restart. I've tried restarting the Hudson service but this doesn't help, so end up having to reboot the box to bring Hudson back online. I've just u...

Custom USB Driver for Windows? Mac?

I'd like to modify a USB driver to send and receive USB data over a network. Take for example, an iMac and a PC. I have an iPod plugged in to my PC (in NY). I want my iMac (in LA) to recognize the iPod as plugged in to a local USB port and be able to communicate with the iPod. Forget my qualifications, or lack thereof (I have backgroun...

Building QGIS for Windows with mingw and Cmake?

Hi, Does anyone knows how to build QGIS for Windows with mingw and Cmake? Having that I have all required dependencies installed. Thanks, Carlos. ...

How can I recognize Windows file paths in a string in Perl?

I have been doing some searching for a regex that can be used as a rule to disallow users entering windows file paths without escaping the "\". So far I have found this expression [^\\]*$ However, this fails for the following: C:\\Program Files\\testing By fails I mean that it does not validate this string. Any he...

using C# for real time applications

Can C# be used for developing a real-time application that involves taking input from web cam continuously and processing the input? ...

Script not served by static file handler on IIS7.5

I've just tried to deploy my first web application to IIS on my Windows 7 Home Premium notebook. After creating the application, I had to change to the Classic App Pool, then set that pool for framework 4.0. Now I get the following error: HTTP Error 404.17 - Not Found The requested content appears to be script and will not be served b...

How to assign keys on physical position at the keyboard on Windows?

There are at least 3 different keyboard layouts who are using the program i make, and i dont care which key they press, the more important thing is where the keys are pressed. I cant just ask the user to press 100 different keys/combinations, that would take too much time and be very confusing to the user. Is there some library or som...

How to change the window service startup type in Wix installer

Hello all, We need to modify the Startup type of our windows service from "Automatic" to "Automatic Delayed Start". Anyone has the idea that how to do this? My code is like this: <ServiceInstall Id="WinServiceInstall" Name="ServiceManager" DisplayName="ServiceManager" Type="ownProcess...

Have python run script at X:00 am

Following up on, http://stackoverflow.com/questions/3553340/with-python-intervals-at-x00-repeat Using threading, How can I get a script to run starting at 8:00 am stop running at 5:00 pm The solution should be coded within python, and be portable tiA ...

how can i interface with windows application from AIR application ?

Is there any way to interface applications outside AIR application ? some kind of generic interface from AIR and into AIR ? ...

How to read the contents of a screen from another application [Office Communicator]

Knowing the hwnd of the window, how do I read the contents of this? Before anyone ask me, I'm trying to get the text that was used in the Communicator window. Below is the code I found on the Internet. The code is not mine. using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespa...

enabling log in openSSH, Windows 2003 box

I have 3 files inside OpenSSH\var\log, they are: lastlog OpenSSHD.log wtmp I changed the sshd_config file's LogLevel INFO Then also I am not getting any logs, anywhere. Can anybody help me to enable the log file. Any help is appreciated.Thanks ...

Win32: transactions on anonymous pipes

Documentation for TransactNamedPipe Function claims that "This parameter can also be a handle to an anonymous pipe, as returned by the CreatePipe function." This would mean that it is possible to use transactions on anonymous pipes. As I understand it transactions are read/write operations and anonymous pipes are either read or write - i...

Running python on a Windows machine vs Linux

Hello, I am interested in learning python but my linux skills suck. i would like to develop a medium to large scale web application using python and django but afraid the software may not work well on a windows box. Is there a performance difference in running python on linux vs windows. Is there anything that I should watch out for when...

Is it possible to create a virtual file in Windows? (i.e. FUSE interface)

How hard is it to create a virtual file of sorts on Windows that can add functionality to read/write calls? For instance, ideally I'd want to create a file then attach an event handler so whenever the file is read, the read call blocks and code is ran to fetch data, that data is populated into the file, then the data is sent to the prog...

How to localize autorun.inf?

Has anyone successfully created a single page autorun.inf file? The documentation for *.inf files would suggest that [autorun] open="MyApp.exe" icon=MyApp.exe,0 label=%AppLabel% action=%AppAction% [Strings] AppLabel = "My test app" AppAction = "Start my test app" [Strings.0407] ; 0407 is the language ID for German AppLabel = "German ...

Delphi became unregistered when I upgraded to Windows 7

I've been using DELPHI 6 with Vista very successfully, however, after upgrading to Windows 7 my Delphi 6 is no longer registered. Even after successfully registering it on-line, it will not save it, and as such, never gets registered. How can I register it? ...

How can you get the current recording volume reading from the microphone?

How can you get the current recording volume reading from the microphone? By this, I'm referring to the loudness of the sound that is being recorded by the microphone. I've searched MSDN for hours, but to no avail... So, I'd appreciate the help. ...