windows-xp

Playback 24bit audio not possible

有些话、适合烂在心里 提交于 2019-12-05 03:02:00
I'm trying to play a 24bit audio file with my AutoHotkey app. It just uses SoundPlay . Windows 7 has no problem, however Windows XP users cannot play the 24bit files. The documentation says: All Windows OSes should be able to play .wav files. However, other files (.mp3, .avi, etc.) might not be playable if the right codecs or features aren't installed on the OS. Possible fixes mentioned in the article How to play 24bit WAV files in Windows Media Player are fixing the problem for Windows Media Player, however but not for autohotkey: Step-by-step guide Download Legacy HD Audio Filter regsvr32

How do I open “Find Files” dialog from command-line in Windows XP to search a specific folder?

允我心安 提交于 2019-12-05 01:13:01
问题 I'd like to create a hotkey to search for files under a specific folder in Windows XP; I'm using AutoHotkey to create this shortcut. Problem is that I need to know a command-line statement to run in order to open the standard Windows "Find Files/Folders" dialog. I've googled for a while and haven't found any page indicating how to do this. I'm assuming that if I know the command-line statement for bringing up this prompt, it will allow me to pass in a parameter for what folder I want to be

Change and refresh icons programmatically (without rebooting)

断了今生、忘了曾经 提交于 2019-12-05 01:11:51
问题 When I'm replacing icons manually (i.e. NOT from the Folder Options window in explorer), the icon(s) aren't being updated. For example, if I execute this batch code: REG ADD HKCR\testfile\DefaultIcon /ve /d "C:\test.ico,0" /f the icon(s) show like they should in the list in Folder Options, but the icons aren't updated on the desktop or in explorer. The icons are updated if I just hit the "change icon" button for any file type and exit the Folder Options window. But this can't be done via

can't debug small program on eclipse helios cdt using mingw/gdb under windows, console freezes

空扰寡人 提交于 2019-12-04 23:38:24
I've been trying to use Eclipse CDT to do some c++ examples, i can run them just fine with the run command, but whenever i try to Debug, the console window freezes up, I'm able to input, but the program doesn't continue. When I debug, i get the following output on the console window (no breakpoints, but breaks on main because of default settings): Hello, world put your name: 15^running The continue button is disabled and doesn't do anything when I input something and hit enter . The 15 is a random number, sometimes its 16, 20 etc. If I run the program under eclipse I get the input prompt just

Hook windows logon/logoff events

ぃ、小莉子 提交于 2019-12-04 22:23:24
I am having a service which would be running at SYSTEM level. Now, i want to track the logged on user in it. Earlier i was trying to get the logged in user name from GetUserName api but in my case it returns "SYSTEM" every time. Is there anyway to get logged on username in my case? or is there any hook that i can install so that i may get which user logged on? P.S: I am mainly working in Delphi 2007 but these question are specific to the Win32 API. I am unfamiliar with Delphi's implementation of Windows services but wherever you set the controls accepted by the service you should add SERVICE

Getting output from a command-line program in a Delphi application on Windows XP

一世执手 提交于 2019-12-04 21:25:21
I have VCL application written in Delphi XE2 that needs to execute a command-line program (also written in Delphi XE2) and obtain the text output by it. I am currently using the following code, which is based on that found here: Getting output from a shell/dos app into a Delphi app function GetDosOutput(ACommandLine : string; AWorkingDirectory : string): string; var SecurityAttributes : TSecurityAttributes; StartupInfo : TStartupInfo; ProcessInformation: TProcessInformation; StdOutPipeRead, StdOutPipeWrite: THandle; WasOK: Boolean; Buffer: array[0..255] of AnsiChar; BytesRead: Cardinal; Handle

How do I disable Tortoise BZR?

落爺英雄遲暮 提交于 2019-12-04 18:12:57
问题 I'm a huge fan of bzr and I'm glad they're working on tortoise for it, but currently it's WAY too slow to be useful. The icons are almost always incorrect and when I load a directory in explorer with a lot of branches it locks up my entire system for anywhere from 10 seconds to 2 minutes. I look forward to trying it again in the future, but for now I'd like to disable it. Unfortunately I don't see it in add/remove programs and I can't find a way to disable it in the bazaar config directory.

How to disable XP themes in WPF application?

老子叫甜甜 提交于 2019-12-04 17:02:26
I have a WPF application (.NET 3.0, VS2008) that displays data in a tab control. Custom colors are required on virtually all controls in this application : basically white foreground and green background. My problem is that when an XP theme (say Luna) is active, it is automatically applied to render controls so that my white text is written on ... a white background. For instance on the active tab item header : I have tried : to remove the embedded manifest file from the generated application (in the project properties) : useless. to force the use of the Windows Classic theme in the

Setting Python Path in Windows XAMPP using WSGI

三世轮回 提交于 2019-12-04 16:53:24
I'm setting up a development version of a live server on Webfaction, running Django apps in a virtual Apache server environment (running without any errors) on my local machine - XP, running XAMPP Lite with Python 2.6 - which I can commit changes from via Git. XAMPP is up and running OK with Python, and the server starts perfectly with WSGI module loaded. The problem is when I set my Python paths, they are set half in 'nix format (with /), and half in Windows (with backslashes). Here's the local machine Apache error, showing the corrupted python paths: [Fri Oct 08 14:52:53 2010] [error]

How can I interrupt MATLAB when it gets really really busy?

不想你离开。 提交于 2019-12-04 16:10:55
问题 I'm running a long simulation in MATLAB that I've realized I need to stop and rerun. However, MATLAB is really into this calculation, and it's stopped responding. How can I interrupt this run without killing MATLAB? (I realize this is a problem with many Windows programs, but it's really acute with MATLAB.) 回答1: Go to the command window, and hit Ctrl-C a lot. From my experience, on a single-core machine you do not have a chance, unless you do lots of output. On a multi-core or multi-processor