windows

Scenarios for Thread Ordering Service

Reading up the new Vista/Win2008 features, I wonder what is the point of the Thread Ordering Service. In other words, in which scenario the "classic" scheduler's "fair to all" policy is not sufficient, and a definite order of threads is preferrable? To clarify. What would be a concrete application that would benefit from it? Thanks fo...

C++ Code Profiler

Can anybody recommend a good code profiler for C++? I came across Shiny - any good? http://sourceforge.net/projects/shinyprofiler/ ...

What is Windows Azure?

Announced today. Descriptions so far aren't super easy to wrap your mind around. Let's put together a good starting point for understanding Windows Azure. Strongly related to http://stackoverflow.com/questions/280037/what-is-a-cloud-os, but not enough to warrant closing. ...

Command-line tool for finding out who is locking a file

I would like to know who is locking a file (win32). I know about WhoLockMe, but I would like a command-line tool which does more or less the same thing. I also looked at this question, but it seems only applicable for files opened remotely. ...

PHP Inclued for Windows?

Is there a .dll version of the inclued extension for PHP? The manual's link for Inclued on PECL4WIN doesn't help. I don't have a compiler to build my own DLL. NOTE: The spelling "inclued" is correct! Edit: I don't have a compiler, but do know someone with one... that's really a last resort though. ...

Programmatic remote app installation

Is there anything built into Windows and the .Net framework for programmatically installing and executing applications remotely? Ie: an API for remote software deployment. I'd like to build a tool that can install services on a pool of new computers from one central admin workstation. Update: The computers are part of an internal IT net...

For ruby/webrick, I need windows to recognize shebang (#!) notation.

(Bear with me, I promise this gets to shebang and windows.) I have about the simplest of WEBRick servers put together: require 'webrick' include WEBrick s = HTTPServer.new(:Port=>2000, :DocumentRoot=>Dir::pwd) s.start Couldn't be simpler. This basic server does accept http connections (firefox, internet exploder, wget, TELENT) and ...

Older MS software with developer licenses?

I produce server software and have been fine with all Linux environments so far, both for production and as deployment target. However, I want to provide a broader choice of target environments in the future and I'm also planning features that would consume and produce Office documents. As a first step, I am looking for a good way to ge...

How do I detect how to escape spaces in a path

In Cygwin a space in a path has to be escaped with a backslash Not true in Windows, put the whole path in a quote Is there a way to convert to this automatically in Ruby? Otherwise, how in Ruby do I detect if I am running with Windows or Cygwin? ...

Is there a good way to bypass restrictions on running EXE files?

I have to compute at libraries quite often these days, and have been having some issues with my U3 smart drive. Despite working on some computers, public libraries here restrict the execution of EXE files and disable AutoPlay, rendering my U3 apps useless. Is there a good way of getting around the restriction and getting something - anyt...

Best Software Requirements tool for Windows?

What is the best tool for managing software requirements [for Windows] ? ...

Copying content from a hidden or clipped window in XP?

I need to copy the content of a window (BitBlt) which is hidden, to another window. The problem is that once I hide the source window, the device context I got isn't painted anymore. ...

Limit for URL length for "rundll32 url.dll,FileProtocolHandler"?

I have a long URL with tons of parameters that I want to open in the default browser from Java on a Windows system using Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler "+url) For short URLs like "http://www.google.com" this works fine. But for long URLs (say, 2000 characters), this simply does absolutely nothing at al...

Capture Window (Alt-Print Screen) of Context Menu

As everyone knows, sometimes developers have to document stuff. Or capture some stuff for filing bug reports. My question is in MS Windows. I'm trying to capture the context menu (right-click on an item) of several areas of an application. Pressing Alt to start the alt-printscreen process closes the context menu. (Only pressing Print...

How to reset Performance objects in perfmon?

When I launch perfmon and try to add a counter, the displayed performance objects are all numbers. How can I reset these Performance objects? ...

DLLs that require registration, used in different programs

How do you organize installing different programs if these programs use the same DLLs which require registration. The problem: if the user uninstalls the program that is installed later the other program will stop working as the registry entries now point to the missing DLLs. One possible solution is placing the common DLLs in a comm...

Access DB5 to MySQL automatically

Hello I have a problem, and was hoping I could rely on some of the experience here for advice and a push in the right direction. I have an MS Access file made by propietary software. I only want to take half the columns from this table, and import into new(not yet setup)mysql database. I have no idea how to do this or what the best way...

Non localized error messages in Asp.net

I've got a Polish version of Windows installed and therefore I get exception messages in Polish. Is there a way to make asp.net display error messages in English? Other than installing English version of Windows. ...

How do I programmatically get a list of locked files under a folder structure?

Following up from this question: How can I unlock a file that is locked by a process in .NET, how do I programmatically get a list of files that are locked in a particular folder and its subfolders? I'm using Windows 2003, .NET 3.5, C# 3.0. Update: some background... basically we're archiving closed websites on a shared server. After d...

How to check if program is running in local console?

In Windows Server 2003, how I can check if my program is running in local console ("on the screen of the server machine") instead of remote session? I'm using Delphi Win32, so any Windows API based method should work.. ...