windows-xp

How can I generate a Visual Studio 2012 project targeting Windows XP with CMake?

有些话、适合烂在心里 提交于 2019-12-05 10:16:39
问题 With Visual Studio 2012 Update 1 released, I am hoping to build a C++ project to support Windows XP. Is there a way to use CMake to generate a project that targets Windows XP? Basically CMake would need to generate a project file that uses Platform Toolset = Visual Studio 2012 - Windows XP (v110_xp). 回答1: According to http://www.cmake.org/Bug/view.php?id=10722 the answer is no yes. Update: The bug mentioned above has been resolved with the following comment: Fixed in Version CMake 2.8.11 A

ssh-keygen' is not recognized as an internal or external command

↘锁芯ラ 提交于 2019-12-05 08:21:01
问题 I am trying to add ssh keys for usage on github but on my xp on command prompt ssh-keygen does not work. It gives me the following error ssh-keygen' is not recognized as an internal or external command. Is there an alternative for generating keys on xp? 回答1: Are you running msysgit, or some other form of Windows git installation? msysgit is only one possible way to run git on Windows but it's probably also the simplest one. It's also the way recommended by the git website at http://git-scm

Google webfonts and windows xp

我只是一个虾纸丫 提交于 2019-12-05 07:55:31
My site is utilizing google fonts, and I'm having some issues with XP. Namely, because XP doesn't have anti-aliasing by default, all the fonts are pixelated, even in browsers like Firefox and Chrome. Is there a way to correct this issue, or are XP users just stuck with it? use SIRF! we all hate flash but this is the only feasible solution. And this issue is not restricted to windows XP, its the same case with all windows platforms. Another option is to keep a text shadow of 1px 1px 1px on all fonts. This would make them appear a bit smoother. Thanks for the suggestion Tarun. In the end, I went

How can one batch file get the exit code of another?

允我心安 提交于 2019-12-05 07:49:58
I have two batch files, task.bat and runtask.bat . The runtask.bat calls task.bat and I would like runtask.bat to get the exit code of task.bat into a variable. How could this be done? task.bat: @echo off set errorlevel=1 runtask.bat ... CMD /C task.bat set taskexitcode=???? Just swap CMD /C for call . task.bat: @echo off set errorlevel=15 runtask.bat call task.bat set taskexitcode=%errorlevel% echo %taskexitcode% Output 15 Nate Cook The accepted answer is correct, but if you are using call to call another batch script, and that second batch script is using SetLocal , you may need to use a

IP Address Lookup in VB.net (XP vs Windows 7)

允我心安 提交于 2019-12-05 07:14:49
问题 Currently I use the following code to retrieve the IP address of the local workstation... strIPAddress = System.Net.Dns.GetHostEntry(strComputerName).AddressList(0).ToString() This is fine for the Windows XP workstations. However, in Vista and Windows 7, this returns the IPv6 address which is not used at all. Is there a method of setting this to work so it always returns the IPv4 address regardless of platform? I know I can increment the AddressList value to 1 and get the correct IP in

Why go 64 bit OS? [closed]

荒凉一梦 提交于 2019-12-05 06:16:48
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . On these questions: Which Vista edition is best for a developer machine? Vista or XP for Dev Machine People are recommending 64 bit, can you explain why? Is it just so you can have more then 3GB of addressable RAM that 32 bit gives you? And how does Visual Studio benefit from all this extra RAM? I went from 64 bit XP back to 32 bit due to 90% of the software I was using only being 32 bit anyway and I had issues

How to programatically add mapped network passwords (WinXP)?

纵然是瞬间 提交于 2019-12-05 05:39:28
问题 In WinXP (SP2) you can store mapped network passwords... Start->Control Panel->User Accounts->Pick one then choose "Manage my network passwords" from Related Tasks. I normally have about 25-30 servers mapped this way to a few different accounts/domains. The problem is that at some point during our policy updates they get wiped out and it's a real PITA to add them all back again. Does anyone know how to add them programatically using some sort of script? Just to clarify, the end goal is not to

VS2012 ClickOnce Applications not working on Windows XP

假装没事ソ 提交于 2019-12-05 05:29:21
While installing on WinXP ,following error apperad On Win7 application installed without problem. Windows forms app and WPF app both have the same problem and both of them worked correctly before in VS 2010. It seems the only way is to publish it from VS 2010 SP1.Projects are compatible in both studios. We had the same issue, but found a simple fix: Instead of running the setup.exe run the "xxxxxx.application" (manifest) file in the same location. This will execute and install in exactly the same manner and does not complain about not being a 32bit app. The problem was solved.Please see: Setup

tnsping ping fails, even though I can successfully connect to database

半城伤御伤魂 提交于 2019-12-05 05:04:19
In trying to establish connectivity from my workstation (actually, am seeing the same behavior on both WinXP32 and Win764 workstations) to an Oracle server, the first thing I always try is a tnsping. When I do so, this is what I get: > C:\>tnsping MYDBNAME > > TNS Ping Utility for 32-bit Windows: > Version 10.2.0.1.0 - Production on > 25-JAN-2 011 15:03:35 > > Copyright (c) 1997, 2005, Oracle. All > rights reserved. > > Message 3511 not found; No message > file for product=NETWORK, > facility=TNSMessage 3512 not found; > No message file for product=NETWORK, > facility=TNSAttempting to contact

Can I use the latest .NET framework on Windows XP or 7? [closed]

不打扰是莪最后的温柔 提交于 2019-12-05 03:52:54
I'm developing an application that must run on Windows XP,7,8 (desktop mode). Which version of .net can I use? If this version is not a default part of XP or Windows 7, is it a good idea to include it in my application installer? You can use the latest version of .NET (at the time of writing) on Windows XP. .NET 4.5 is not supported on XP. System requirements for .NET 4.5 . .NET 4.0 is supported on XP. You should expect to have to install the framework when you install your application though. The dotNetInstaller is good for this (although there are other ways too). There may well be certain