windows

SVN says I need to perform cleanup, but the cleanup fails

When I try to commit: Error: Working copy 'D:\Webs\Drupal 6' locked Error: Please execute the "Cleanup" command. When I try to do a cleanup: Cleanup failed to process the following paths: D:\Webs\Drupal 6 Does anyone know how I can solve this problem? Duplicate: http://stackoverflow.com/questions/127932/svn-working-copy-xxx-lock...

Notification Library for Windows

I'm developing a small tray-icon application for Windows and I need to display non-intrusive visual notifications similar to those that appear when you receive a new message in MSN Messenger or any other IM application. I have looked at Snarl, but it seems to be a separate application that I need to install. I want something that could ...

As a developer, what changes do you make to a vanilla Windows install ?

When I get a vanilla Windows system, there's a bunch of stuff I change to make it more developer-friendly. Some of it I remember every time, other stuff I only do as and when. Examples: Show extensions of all file types Make hidden and system file visible Turn off Windows Defender I seem to remember a blog post from Jeff on this to...

SVN says I need to perform cleanup, but the cleanup fails.

!!! This is not a duplicate question since the solutions offered in the other topics didn't work for me. When I try to commit: Error: Working copy 'D:\Webs\Drupal 6' locked Error: Please execute the "Cleanup" command. When I try to do a cleanup: Cleanup failed to process the following paths: D:\Webs\Drupal 6 Does anyone know how I c...

Getting control of the main thread in windows c++ app

I'm writing some code that id like to be able to work with any window, such as a window created through the windows API, MFC, wxWidgets, etc. The problem is that for some things I need to use the same thread that created the window, which in many cases is just sat in a message loop. My first thought was to post a callback message to th...

How to find the beginning and end of thread local storage?

How, under Windows and Linux, given a thread handle can I determine the beginning and end of its corresponding static thread local storage block? ...

Is Port Redirection/Forwarding (i.e. 8443 -> 3389) for Windows Vista/Server 2008 possible with the built-in firewall?

Is it possible to execute port redirection/forwarding with the built-in firewall (or some other software) for Vista/Windows 2008? I want to forward port 8443 to 3389 (HTTPS forwarded to Remote Desktop port) for RDP access to a server from places where the normal RDP port is blocked. I can do this with a hardware firewall at work, but I ...

How can I make a text file with paths to all my files of a given extension?

I'm trying to use the freeware Multiple Find And Replace 1.00 suggested in this question. Unfortunately it requires that I explicitly select each file I'd like it to search. But, it does allow me to load in a text file of the file paths. C:\one.txt C:\two.txt C:\somedirectory\three.txt I'd like a text file of paths to all files...

Free Modem / Serial Communications Library or Scriptable App with ZMODEM/KERMIT

My task appears simple at first: dial into a terminal over a modem, login, possibly send some other characters, and then receive file(s) via ZMODEM or KERMIT .. or send a file via ZMODEM or KERMIT. I've been tearing my hair out trying to get this working correctly. Mostly I'm stuck on the ZMODEM protocol. I have a working implementation...

How can I programatically analyze (and change) the configuration of IIS

I'm relatively new to the Windows Server world (coming from *nix land). I'm used to analyzing a web-server's configuration by grepping through an apache config file. Is there an equivalent file/group-of-files for IIS? Lacking that, is there an official scripting interface for IIS? ...

How to simulate keybard input to a remote desktop session?

Found my own answer. If someone could copy/paste it into an answer so i can mark it as the answer, and answer this question, to take it off the unanswered list - i would appreciate it. i'm trying to send fake keyboard input to an application that's running in a Remote Desktop session. i'm using: Byte key = Ord("A"); keybd_event(key,...

Getting Vista/Windows Search/propsys.dll properties from the shell in managed code

Has anyone managed to do this? I tried making a managed wrapper class for IPropertyStore but am getting AccessViolationExceptions on the methods (i.e. IPropertyStore::GetValue) that take a pointer to PROPVARIANT (rendered as a MarshalAs(UnmanagedType.Struct) out parameter in my managed version) Probably my understanding of COM and inte...

tools for diffing windows binaries?

Our QA team wants to focus their testing based on what EXEs and DLLs have actually changed between builds. We have a nice svn change report, but the relationship between source and changed binaries isn't always obvious. The builds we're comparing are always full clean builds, so we can't use file system timestamps. I'm looking for t...

Building 32-bit Qt Mysql plugin fails with MinGw

I'm building a MySQL plugin for Qt 4.4.3 Open Source Edition (Qt documentation), and using command: cd %QTDIR%\src\plugins\sqldrivers\mysql qmake "INCLUDEPATH+=C:\MySQL\include" "LIBS+=C:\MYSQL\MySQL Server <version>\lib\opt\libmysql.lib" mysql.pro make I manage to build it to my 64-bit Qt just fine using 64-bit MySQL dev files (using...

How do I get the source IP address from a datagram's IP header with Winsock?

I have a port that is bind()'d to INADDR_ANY. I am receiving datagrams successfully. After receipt, I need to read the IP header to get the source IP address. ...

Minimum specs for XAMP server on Vista

What do you reccomend as minimum specs for a Windows laptop running Vista, an IDE, and Apache, MySql, and PHP? ...

PHP 5 and ImageTTFText() suddendly stopped working with XFILES.TTF

Hi We have a very weird problem concerning the use of a TTF-font with a specific name(!) in PHP5 running in Apache: ... $ttf = "./XFILES.TTF"; //Schriftart ImageTTFText($img, $ttfsize, $angle, $t_x, $t_y, $color, $ttf, $text); The font file doesn't work anymore when it is named XFILES.TTF - no errors are displayed, the text just is...

Run a shortcut under windows

The following doesn't work, because it doesn't wait until the process is finished: import subprocess p = subprocess.Popen('start /WAIT /B MOZILL~1.LNK', shell=True) p.wait() Any idea how to run a shortcut and wait that the subprocess returns ? Edit: originally I was trying this without the shell option in my post, which caused Popen ...

How to restore minimized window without flicker

I've made an expose-clone for Vista that sometimes need to restore a minimized window. I've managed to do this with the SetWindowPlacement function. The problem is that this also repaints the window which looks like crap after the window nicely has slided into the screen. This is the code i use to bring a window to the top and give it f...

How can I have a portable Emacs?

Is there a way run Emacs from a USB drive? I am a Windows user and I would like to be able use it on any PC without an Emacs install. ...