windows

ssh tunnelling chain

Here is the scenario I am trying to get scp access to server3, but there is only public ssh access to server 1. To ssh to server3, I have to ssh to server1, ssh to server2, then ssh to server3. My hopeful end result would be that I could WinSCP to localhost:8022 and it will give me file access to server3. I am trying to use ssh tunnel...

how do I programmatically access "system folder" created by GMail Drive?

GMail Drive is an app that allows you to transparently back up files and folders on a gmail account. Visually it looks like a new drive created under My Computer called "GMail Drive". I can upload and download files to it manually, by drag-and-drop. Well, question is, how do I upload and download files to it programmatically? I have not...

Qt static linking and deployment

hi everyone, I am trying to deploy(release to public) a simple qt application I made recently, but got stuck at static linking qt libs. I followed the guide on qt docs to re-build qt and my app statically. But the release build still require qtgui / qtcore dll for no apparent reasons, I wonder if anyone has seen this kind of problems be...

How to do "diff -r" of UNIX in Windows Cmd Prompt?

How do I compare two directories on cmd prompt of Windows m/c? I want equivalent of diff -r of UNIX. ...

How to kill specific process running under specific user account

Hi, How to kill specific process running under specific user account. using C#? Thanks, ...

Automated FTP

I need to set up some sort of infrastructure to automatically FTP some files from one remote server to another. The FTP transaction will occur on a scheduled basis. Both these server are windows boxes and the location of the files that need to be FTP'ed will depend on the current date (the folder they sit in will be named the current day...

Quicktime playback delay on windows

I'm building an app which needs high playback performance. I choose Quicktime as video engine. I experimented different playback performance with different version: - v7.1.3 has the best performance : when pressing play in the QT player, the video starts immediatly - newer quicktime release have very poor playback performance, the delay...

Highlight Win32 Edit control to indicate that it is the one to fill now

I have a Win32 GUI application that has several edit controls (plain old "EDIT" classname). The logic is that the user is to fill the edit box selected by the application. To make it clearer which one is to be filled now I want to somehow highlight the "current" edit box. Then, when the user has done input and asked the application to p...

How to disable autocomplete for passwords in IE8 via GPO?

In IE6 there was a registry key hidden away that would allow you to enable autocomplete but only for usernames, not passwords. This key no longer has any effect in IE8. I can either enable or disable autocomplete for usernames and passwords, but not just one of the two. What I'm looking for is a way to enable autocomplete for username...

Developing in Ruby on Windows

I'm starting a new job soon where I'm going to be developing in Ruby and Rails on a Windows machine. I haven't used Windows for years, and the likes of Textmate, Git and Bash, are an integral part of the workflow using a Mac. So, does anybody have any suggestions or recommendations as to the best tools or work strategies to use? Or pitf...

How can I close the child window if the parent window is closed?

I have a web application that pops up another window. If the person closes the main browser window, I need to close the child window as well. Is this possible? If so, how? ...

How to link C lib against python for embedding under Windows?

Hi, I am working on an application written in C. One part of the application should embed python and there is my current problem. I try to link my source to the Python library but it does not work. As I use MinGW I have created the python26.a file from python26.lib with dlltool and put the *.a file in C:/Program Files (x86)/python/2.6/...

Free memory debugger for Windows?

I am looking for a free memory debugger for Windows, suited for debugging C++ applications built with VC, with similiar functionality to Insure++ or Purify. Any recomendations? GUI is a plus Integration with VS is a bigger plus ...

What are the valid characters for Registry keys and valuenames?

More specifically, what is the authoritative source for that information? This may look like a non-programming question, but I need to know whether a registry path fed to my code contains a regular expression or not. I decided the best way to do that is assume that any occurrence of an invalid character (like '*') means a wildcard searc...

Windows 7: Taking advantage of auto-elevation to elevate my own process?

From a July 2009 Technet article entitled Inside Windows 7 User Account Control, Mark Russinovish describes that it's possible for an application running as standard user to silently elevate and gain administrative rights: ...it's possible for third-party software running in a PA (Protected Administrator) account with standard us...

How can I change a Windows user's regional settings/date format?

I use a VB6/COM+ application which outputs date/time values based on the short date settings in the Control Panel, Regional Settings, for the user that runs it. The program that then parses that output has a configurable setting for the date format it expects, and presents in the UI. e.g. If the regional setting for the user is set to ...

How do I use MS C++ Express 2008 to build Perl Unicode::Map on Windows?

I am currently trying to make the Unicode-Map-0.112 module, but encounter an error, '0x1', that is evidently related to using nmake. I tried to follow suggestions on Perl Monks, i.e. http://www.perlmonks.org/?node_id=434813 However, I am unable to use ppm's capabilities because I am on a Windows machine without a network connection, a...

GNU CC and Windows

I'm a bit confused about the options for using GNU CC on Windows. If I want to primarily develop console applications (as opposed to GUI apps) what do I need? Where do Cygwin and MinGW figure? For example, if I use the NetBeans IDE C/C++ option, that requires installation of Cygwin. Are there any options which would allow Console appli...

C# Waiting for other services to start

I'm writing a Windows service that relies on other services, how should I wait for the other services to start? Thanks ...

Perl module(s) for creating a simple Microsoft Windows GUI?

I'd like to create a simple Windows GUI for my Perl program. It basically needs to spawn a window, write log information to a text box, and have an input box and a couple of start/stop buttons. Does anyone have any tips as to which Perl modules I use? The people I work with like Qt, so that may be a preference, but I'm not bothered. ...