windows-xp

Visual Studio 2012 compile for XP - not valid win32 - v110_xp

大兔子大兔子 提交于 2020-01-02 07:07:15
问题 I have Visual Studio 2012 update 4 and the Windows SDK 7.1. I select the "Visual Studio 2012 - Windows XP (v110_xp)" toolkit and the include directories change to use $(WindowsSdkDir_71A). No errors are given during compile (e.g. it successfully finds winres.h), but when I try to run the exe on Windows XP SP3, it still errors: "test.exe is not a valid Win32 application." For testing, it's just a C++ hello world. #include <cstdio> int main(void) { printf("Hello, World!\r\n"); return 0; } How

Building ffmpeg for Windows with MSYS and MinGW

佐手、 提交于 2020-01-02 05:32:47
问题 I am trying to build ffmpeg for windows (Xp - SP2) as given here. ./configure -–extra-cflags=”-mno-cygwin -mms-bitfields” -–extra-ldflags=”-Wl, -add-stdcall-alias” -–enable-memalign-hack -–enable-shared -–disable-static -–target-os=mingw32 The above command is placed in a myconfig file as instructed and when i run ./myconfig , the following error is displayed: Broken Shell detected. Trying alternatives. Trying Shell bash Unknown option "-–extra-cflags=-mno-cygwin". As suggested in the link i

VS2012 ClickOnce Applications not working on Windows XP

心已入冬 提交于 2020-01-02 03:00:36
问题 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. 回答1: It seems the only way is to publish it from VS 2010 SP1.Projects are compatible in both studios. 回答2: 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

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

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-02 02:21:07
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . 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

How do I install/deploy/build my Visual C# application so it's available to all users?

浪尽此生 提交于 2020-01-01 18:56:55
问题 I've written an application in Microsoft Visual C# 2008 Express Edition. The Windows XP computer I want to install it on has two user accounts. One is the admin account, the other is the main user account and does not have admin privledges. I tried installing the application as the main user, and got an error saying i can't because I'm not admin. Fine. I tried installing the application as the admin account. It installs fine and works fine under the admin account, but doesn't seem to be

Proxy for command line utilities in Win XP

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-01 18:18:46
问题 How do I get command line utilities like ping to use the default proxy in Windows XP. proxycfg -u sets the proxy to the default (IE) proxy alright, but it doesn't seem to be working. Update : I am behind a proxy and would like a way to check if a site is up or not hence trying to use ping! Also would like a way to telnet (without using Putty) to a specific site and port to check connectivity. 回答1: A proxy is usually used for web (HTTP) traffic, ping uses ICMP, which is a completely separate

Running a Process (WITH GUI) on Windows XP Logon Screen (.NET / Pinvoke)

耗尽温柔 提交于 2020-01-01 16:10:14
问题 I need to write a small service that runs an application (with gui, e.g. calc.exe ) on the logon-screen. I already found this question (and answer): Running a process at the Windows 7 Welcome Screen please read the code-comments if you don't understand how this works: // grab the winlogon process Process winLogon = null; foreach (Process p in Process.GetProcesses()) { if (p.ProcessName.Contains("winlogon")) { winLogon = p; break; } } // grab the winlogon's token IntPtr userToken = IntPtr.Zero

“Symbols can not be loaded” when trying to read dump

早过忘川 提交于 2020-01-01 05:01:08
问题 I have an application that sometimes causes a BSOD on a Win XP machine. Trying to find out more, I loaded up the resulting *.dmp file (from C:\Windows\Minidump), but get this message when in much of the readout when doing so: ********************************************************************* * Symbols can not be loaded because symbol path is not initialized. * * * * The Symbol Path can be set by: * * using the _NT_SYMBOL_PATH environment variable. * * using the -y <symbol_path> argument

Enable/disable network connection from command line

大城市里の小女人 提交于 2019-12-31 11:45:50
问题 I know that there exists ton of results in Google for this: results, but I didn't make it in my Windows XP machine. I want to disable LAN connection from command line. >netsh interface set interface "Local Area Connection" DISABLED One or more essential parameters not specified The syntax supplied for this command is not valid. Check help for the correct sy ntax. >netsh interface set interface name="Local Area Connection" admin="disabled" One or more essential parameters not specified The

How do I install GDI+ version 1.1 on Windows XP?

一世执手 提交于 2019-12-31 03:36:10
问题 Has anyone done this successfully? As I understand, GDI+ 1.1 only ships with Vista. I'm trying to get my hands on the different Effects classes. I'm using C++ VS2008 (VC9) 回答1: GDI+ 1.1 is not redistributable according to EULA of Windows Vista. 回答2: There is a version of GDI+ 1.1 in Office 2003 that does not work with the interfaces provided by Vista SDK. I am not sure if you can guess out the signatures of the flat APIs or not. there was strategic decision made to not redistribute GDI+ 1.1