windows-xp

Android: trouble updating to Android SDK Tools, revision 7

大兔子大兔子 提交于 2019-12-17 22:35:12
问题 Currently I have Android SDK 2.1 (+ tools revision 4). I'd like to upgrade to Android SDK 2.2. When I try to do it I'm informed I need to upgrade Android SDK Tools to revision 7 first. So I agree, the process starts and then I get an error: -= warning! =- A folder failed to be renamed or moved. On Windows this typically means that a program Is using that Folder (for example Windows Explorer or your anti-virus software.) Please momentarily deactivate your anti-virus software. Please also close

.exe is not a valid Win32 application on Windows XP

ε祈祈猫儿з 提交于 2019-12-17 19:36:19
问题 I'm using Visual Studio 2012 Professional and creating an installer by using Advanced installer (3rd party). When I run the installed .exe on Windows XP, I get the following message: <appName>.exe is not a valid Win32 application. The installed executable works fine on both Windows 7 and 8. How can I get the program to work on Windows XP? 回答1: From the Visual Studio Command Prompt, run this command: Dumpbin.exe /headers c:\where\you\put\it\setup.exe Where "setup.exe" is the setup EXE created

git ignore exception not working as desired

你说的曾经没有我的故事 提交于 2019-12-17 18:41:04
问题 WinXP + mysisGit1.7 In my .gitignore file, but still can't see Demos/path/to/file/file.cpp being tracked by git. I have below entries: Demos/ !Demos/path/to/file/file.cpp The absolute path is: c:\Project\Demos\path\to\file\file.cpp What could be wrong? Please help, thanks. EDIT: I found the way how mysisGit .gitignore work on WindowsXP can only ignore certain type of file, then exclude some files with same type. For example: *.bak !tracking.bak !/path/to/file/tracking2.bak It doesn't work

How to kill an open process on node.js?

荒凉一梦 提交于 2019-12-17 17:32:29
问题 I'm trying to set up a build-system for Node.js on sublime, so I can press F7 to call "node" on the openned file. The problem is that the process is then open forever, so, the second time I use F7 I get an add-in-use. Is there a way I can kill the openned "node.exe" process from node.js? 回答1: Use the following set of commands to identify the process running on a given port and to termiate it from the command line sudo fuser -v 5000/tcp // gives you the process running on port 5000 It will

How do I setup DiffMerge with msysgit / gitk?

孤街浪徒 提交于 2019-12-17 17:26:58
问题 I've just started using Git and it's possible I've missed something obvious, but here goes: I'm using msysgit 1.6.2.2 on Windows XP While installing, I picked option 1 to "Use Git Bash only" I'm trying to put together a wrapper script that I can use to replace the built in git diff with DiffMerge. Based on this thread on SO, I created the following batch file: @echo off REM ---- Switch forward slashes to back slashes ---- set oldW=%2 set oldW=%oldW:/=\% set newW=%5 set newW=%newW:/=\% REM ---

Fill ComboBox with List of available Fonts

不羁的心 提交于 2019-12-17 16:25:17
问题 How can I fill a combo-box with a list of all the available fonts in the system? 回答1: You can use System.Drawing.FontFamily.Families to get the available fonts. List<string> fonts = new List<string>(); foreach (FontFamily font in System.Drawing.FontFamily.Families) { fonts.Add(font.Name); } // add the fonts to your ComboBox here 回答2: Not sure why we need to foreach here. IList<string> fontNames = FontFamily.Families.Select(f => f.Name).ToList(); 回答3: This is the easy way to do it. It includes

Is there Uninstall a program batch for windows?

这一生的挚爱 提交于 2019-12-17 15:42:42
问题 I have several programs I want to uninstall from my computer (Windows 7 64bit). Is there a batch\script that can help me do it? or I need to do it one by one from Control Panel? If there isn't for Windows 7, is there something like this in XP? thanks, Dor. 回答1: There isn't really an uninstall command kind of thing in cmd that I know of. You could however query this reg key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall (might also need to check HKEY_LOCAL_MACHINE

Best way to detect an application crash and restart it?

点点圈 提交于 2019-12-17 11:54:27
问题 What's the best way to detect an application crash in XP (produces the same pair of 'error' windows each time - each with same window title) and then restart it? I'm especially interested to hear of solutions that use minimal system resources as the system in question is quite old. I had thought of using a scripting language like AutoIt (http://www.autoitscript.com/autoit3/), and perhaps triggering a 'detector' script every few minutes? Would this be better done in Python, Perl, PowerShell or

CUDA linking error - Visual Express 2008 - nvcc fatal due to (null) configuration file

徘徊边缘 提交于 2019-12-17 09:45:25
问题 I've been searching extensively for a possible solution to my error for the past 2 weeks. I have successfully installed the Cuda 64-bit compiler (tools) and SDK as well as the 64-bit version of Visual Studio Express 2008 and Windows 7 SDK with Framework 3.5. I'm using windows XP 64-bit. I have confirmed that VSE is able to compile in 64-bit as I have all of the 64-bit options available to me using the steps on the following website: (since Visual Express does not inherently include the 64-bit

How do I install cURL on Windows?

▼魔方 西西 提交于 2019-12-17 02:44:14
问题 I have followed all the instructions here: http://www.tonyspencer.com/2003/10/22/curl-with-php-and-apache-on-windows/ to install & config apache get the PHP5 packages and get the CURL packages. I run the apache and run a PHP script. no problem. but when I run the php script with curl, it fails. It returns: **Call to undefined function curl_version() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\testing.php on line 5** In which line 5 is a called to curl_init() I output the