windows

Is there a Windows tool for capture and playback of modified UDP packets?

I'm looking for a tool (or a set of tools) for Windows that will perform the following: Capture UDP packets from a specific network interface to a file. Play a stream of packets from a file through a network interface. In addition to 2: replay the original packets to a different host than the original one. I've already got 1 and 2, b...

How can I create a new process with another User Account on Windows?

Is it possible to create a new process on windows with a different user account? I know there are a context menu "Run as" but I want do it from Java. I have the username and the password. ...

Git On Windows Without Cygwin?

Are there any native Git implementations for Windows that do not require Cygwin? I've become a fan of the TortoiseSVN client, and would really like to see a similar Git client for Windows. Edit: I am also considering Mercurial, but would prefer to check out a few before I make a decision. ...

Trouble tracking down a potential memory overwrite. Windows weirdness.

This is driving me nuts. I am using some 3rd-party code in a Windows .lib that, in debug mode, is causing an error similar to the following: Run-Time Check Failure #2 - Stack around the variable 'foo' was corrupted. The error is thrown when either the object goes out of scope or is deleted. Simply allocating one of these objects and...

Windows Explorer directory as bundle

I have been investigating for some time now a way to prevent my user from accidently entering a data directory of my application. My application uses a folder to store a structured project. The folder internal structure is critic and should not be messed up. I would like my user to see this folder as a whole and not be able to open it (...

Has anyone had success getting PR_DEFAULT_STORE using MAPI under Windows Mobile?

The following piece of test code runs under Windows Mobile. It's objective is to seek out the default message store. This is so that I can get the proper account name for programmatically compiling an email. IMAPISession *mapiSession; HRESULT hr = S_OK; MAPIInitialize (NULL); IMAPITable *msgTable; SRowSet *pRows; IMsgStore *msgStore;...

Fastest way to move files on a Windows System

I want to move about 800gb of data from an NTFS storage device to a FAT32 device (both are external hard drives), on a Windows System. What is the best way to achieve this? Simply using cut-paste? Using the command prompt ? (move) Writing a batch file to copy a small chunks of data on a given interval ? Use some specific application t...

How can I measure runtime memory requirements of an application on windows platform?

How can I measure runtime memory requirements of an application on windows platform? ...

Register an application to a URL protocol (all browsers) via installer

I know this is possible via a simple registry change to accomplish this as long as IE/firefox is being used. However, I am wondering if there is a reliable way to do so for other browsers, I am specifically looking for a way to do this via an installer, so editing a preference inside a specific browser will not cut it. ...

Opening separate windows with Start

Hello, I am tring to open several instance of IE with the start command in a batch file. For example I want to open www.google.com and www.yahoo.com at the same time in separate windows. Any help would be appreciated. Regards, Aaron ...

How to know if the local Area Connection is available

Dear all i'm using Win XP and i want to know if the local area is available or not ?!? and if i'm using another OS would that affect on my code ??! thnx in advance ...

Disable usb storage devices

Is there a way to programmatically disable usb storage devices from working while still keeping usb ports functional for other types of devices like keyboards and mice? ...

Are there any API wrapper of Robocopy?

Robocopy is the best reliable and feature rich way to batch copy files on Windows. However, it is a command line tool. I am looking for a library/API that I could do the same in my program. I tried to use Process.Start(), but then I have to capture and to parse stdout for progress bar and no way to the overwrite behavior. For example, ...

How to setup Django on XMPP on Windows XP

Greetings! I'd like to investigate Django but I'm running Windows XP. I've installed XMPP and I currently have Python 2.6 installed (is it true that 2.5 is the only version that will work with XMPP?). What else do I need to get up and running? Any tips, recommended IDEs, etc? ...

Strange File Not Found errors with mmioOpen

Ive been playing around with XAudio2 but have encountered some strange problems with the mmioOpen function For some reason it seems to fail with MMIOERR_FILENOTFOUND, even though the file is there, in fact the file is in the same directory as other files I'm loading which work fine... The wav files im using to test with are just the on...

Visual Studio skips build

When I try to build my project I get the following message in the build window : ========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped ========== I tried rebuilding , then building again , but it doesn't help . Is there a way to view more detailed messages ? The "skipped" part doesn't give me any info on what's wrong . I am ...

How to do two things with one click in Windows Form

On my main form, there is another (floatable) window. This floatable window works sort of like a popupwindow in that it will close when the user clicks somewhere else outside of this window. This is handled by the Deactivate event. But what I want to do is, if the user clicks on a different control (say a button), I want to both close th...

How can I run the first process from a list of processes stored in a file and immediately delete the first line as if the file was a queue and I called "pop"?

I'd like to call the first command listed in a simple text file with \n as the separator in a pop-like fashion: Figure 1: cmdqueue.lst : proc_C1 proc_C2 proc_C3 . . Figure 2: Pop the first command via popcmd: proc_A | proc_B | popcmd cmdqueue.lst | proc_D Figure 3: cmdqueue.lst : proc_C2 proc_C3 proc_C4 . . ...

Invert display colors

Is it possible to invert display colors on Windows like Macs can? I have nVidia GeForce 6200 graphics card and 17" Samsung SyncMaster display. ...

How to translate a virtual memory address to a physical address?

In my C++ program (on Windows), I'm allocating a block of memory and can make sure it stays locked (unswapped and contiguous) in physical memory (i.e. using VirtualAllocEx(), MapUserPhysicalPages() etc). In the context of my process, I can get the VIRTUAL memory address of that block, but I need to find out the PHYSICAL memory addres...