windows

Looking for a flexible windows installer product with a powerful scripting language.

The company I work for has been using a certain installer for the past few years (its name is very similar to another installer product from which we switched). I was recently tasked with reworking the installer and fleshing out all the little bugs and edge cases that were causing all kinds of problems. I found the product so inflexible...

What does STATUS_INVALID_DEVICE_STATE mean?

I am calling WsKSendTo on an opened socket (irp returns success in callback). But WskSendTo on that socket returns c0000184, what is referenced to as STATUS_INVALID_DEVICE_STATE. What kind of errors are addressed by this? Did I miss something in the send routine? psc->dstaddr.sin_family = AF_INET; psc->dstaddr.sin_port = 0x6973; ...

How to get information passing through COM ports on Windows?

I'm programming a solution that requires parsing some data sent to a printer that is attached to a serial port. It's only reading, I don't need to interfere with the communication, but I need it to happen real time... I've searched around and found nothing that allows me to do this kind of stuff using the language i'm programming the so...

Is there a Office Communicator Automation API for Windows Mobile 6.0

Is there an Windows Mobile Office Communicator client API to develop a plugin using OCS. ...

Step Through Debugging of PHP on Windows

Is there any good way to do this, or should I just bite the bullet and either a) buy an IDE for PHP on Windows, or b) find out how to do this on Linux and run Cygwin? ...

How can I receive Windows filesystem events in Java?

I need to know when a new file appears in a directory. Obviously, I could poll the file system periodically, but that has all the normal downsides of polling mechanisms. I know that windows supports file system events, and this project is already constrained to the Windows platform by other requirements. Does anyone have experience re...

win32api.dll Will Not Install

I am trying to start a Buildbot Buildslave on a Windows XP virtual machine: python buildbot start . ImportError: No module named win32api. Google tells me that win32api is win32api.dll. I downloaded the file from www.dll-files.com and followed the guide found on that site (http://www.dll-files.com/unzip.php). When I try to run regv...

How can I change file encoding of the redirect file in a Windows batch script?

I have the following windows batch command as part of a larger batch file: type *.sql > dbScript.txt ren dbScript.txt dbScript.sql As you can see it joins all SQL scripts in a particular directory into one so that it can be executed during the database build process. My problem is that I now have non ANSI characters in one of the SQL...

Redistributing apple bonjour on windows... caveats?

I plan to use bonjour for my server-side companion app for a iPhone utility. I plan to request a license grant from apple, but as with any dependency I want to know in advance if exist any caveats on doing that, like: Can exist a good chance of crash or imcopatibilities in installing it (obviously, acording to the manual) when the end...

Text color for Air app on Windows is purple. Anyone know why?

We currently have an Air app that is displaying purple text only on Windows machines. On Mac machines it is the right color. We have the text color defined in multiple places and none of it is overriding the purple text. ...

Code to monitor server for new files

Anybody have some code to monitor a windows server and notify me when a new file has been copied to it. Thanks, Paul ...

Any tools to sniff java application networking behaviour?

I want to know the behavior of a web robot, which was written in Java, is there any tool to monitor? I'm running Windows 7 now. ...

Creating another Window from code?

I'm currently working on a game and relaly want to add an external console to it (right now it's built into the main game window). What I would really like is to create a new Window which acts as the console with maybe a text box in the bottom to add new commands into it and a larger text box on top which outputs information. I'm using...

how to interpret the windows registry 'ShellState' value

In the windows registry, under the key [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer], there is a REG_BINARY variable called ShellState, 44 bytes in length. It looks suspiciously like a set of bit flags, but maybe there's some kind of struct present, really no way to tell from looking at it. Anyway, does anyone...

How to get size of check and gap in check box?

I have a check box that I want to accurately measure so I can position controls on a dialog correctly. I can easily measure the size of the text on the control - but I don't know the "official" way of calculating the size of the check box and the gap before (or after) the text. ...

System.IO.Pipes on Windows 2000

Is there any way to get .NET 3.5 working on Windows 2000? Specifically, the only part I need is the System.Core.dll to use the System.IO.Pipes namespace. Hackish workaround methods are fine, if necessary. Thanks! ...

Via CN700 video mode pruning

I have a system running Windows XPe with a CN700 graphics chipset and two monitors: an LCD panel and a VGA monitor with no EDID. The panel has a resolution of 1440 x 900, and I want to run the VGA monitor at this resolution too. I've created and loaded a monitor .inf file with the desired resolution of the VGA monitor. The LCD panel...

What is the performance of boost::interprocess_mutex vs Win32 native mutexes?

Note that I can conduct the research inside the boost source code, and may do this to answer my own curiosity if there isn't anyone out there with an answer. I do ask however because maybe someone has already done this comparison and can answer authoritatively? It would seem that creating a shared memory mapped file between processes, ...

How much memory is my windows app really using?

I have a long-running memory hog of an experimental program, and I'd like to know it's actual memory footprint. The Task Manager says (in windows7-64) that the app is consuming 800 mb of memory, but the total amount of memory allocated, also according to the task manager, is 3.7gb. The sum of all the allocated memory does not equal 3.7...

batch file equivalent of unix parameter expansion with quotes

There have been a lot of questions asked and answered about batch file parameters with regards to the %* but I haven't found an answer for this. Is there an equivalent syntax in batch files that can perform the same behavior as "$@" in unix. Some context: @echo off set MYPATH=%~dp0 set PYTHON=%MYPATH%..\python\python set BASENAME=%~n0...