windows-xp

Getting mingw-get to install correctly - mingw/msys path missing plus more!

∥☆過路亽.° 提交于 2019-12-30 03:12:25
问题 I'm running windows XP. I have been following this tutorial and so downloading mingw-get-inst here. I've done this a couple times and the last time I checked boes to install EVERYTHING including, but not limited to, gcc, g++, MSYS and the MinGW Compiling Suite. I told it to make a program menu shortcut, too. I believe I have correctly added MinGW/bin to the Environment Settings' Path . So I have the shortcut to the MSYS shell now. It goes to C:\MinGW\msys\1.0\msys.bat, but the whole msys

WPF application slow on startup

删除回忆录丶 提交于 2019-12-29 14:15:53
问题 My WPF application currently only shows a screen with some controls, it doesn't connect to DB or has any other functionality. It's a simple UI screen. When I was testing in some computers (WinXP SP2), I've detected that it took more than 15 seconds to startup. They were all in our domain. I've grabbed a similar computer, only with Windows installed, and the application took 2 seconds to startup. Then I added the computer to our domain, and testing it with a domain user showed that it also

Windows XP Batch- IF EXIST FTP with Date Variable

时光总嘲笑我的痴心妄想 提交于 2019-12-29 09:22:16
问题 I am writing a quick batch to see if a file exists after executing an exe. The file is created with a YYYYmmDDnumbernumbernumber.xml file name according to the current date. How do I check for the file with a variable in the beginning? Here is what I have so far: @echo off set mydate=%date:~10,4%%date:~4,2%%date:~7,2% if not exist "ftp://FTPsite/%mydate%*.xml" (echo nah) else (echo yea) pause 回答1: you cannot check existence of file on ftp server with IF .Instead try this after replacing the

Windows XP Batch- IF EXIST FTP with Date Variable

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-29 09:22:08
问题 I am writing a quick batch to see if a file exists after executing an exe. The file is created with a YYYYmmDDnumbernumbernumber.xml file name according to the current date. How do I check for the file with a variable in the beginning? Here is what I have so far: @echo off set mydate=%date:~10,4%%date:~4,2%%date:~7,2% if not exist "ftp://FTPsite/%mydate%*.xml" (echo nah) else (echo yea) pause 回答1: you cannot check existence of file on ftp server with IF .Instead try this after replacing the

Are there problems with rendering WPF over Remote Desktop under Windows XP?

我只是一个虾纸丫 提交于 2019-12-29 07:38:09
问题 I have heard that WPF primitives will not be supported by remote desktop on windows XP. The implication of this is that if you run a WPF application on a vista machine and display it on an XP machine (via remote desktop) the display will be sent as a compressed bitmap. This issue is resolved in Vista-Vista comunication via DirectX 11 (?) but this will not be made available on XP. There is obviously a performance hit here, I would like to understand it before making any inroads into developing

Determine processor support for SSE2?

与世无争的帅哥 提交于 2019-12-29 05:14:11
问题 I need to do determine processor support for SSE2 prior installing a software. From what I understand, I came up with this: bool TestSSE2(char * szErrorMsg) { __try { __asm { xorpd xmm0, xmm0 // executing SSE2 instruction } } #pragma warning (suppress: 6320) __except (EXCEPTION_EXECUTE_HANDLER) { if (_exception_code() == STATUS_ILLEGAL_INSTRUCTION) { _tcscpy_s(szErrorMsg,MSGSIZE, _T("Streaming SIMD Extensions 2(SSE2) is not supported by the CPU.\r\n Unable to launch APP")); return false; }

Programmatically disable/enable network interface

a 夏天 提交于 2019-12-29 03:28:06
问题 I'm trying to come up with a solution to programmatically enable/disable the network card - I've done a ton of research and nothing seems to be a workable solution in both XP and Vista environments. What I'm talking about is if you went into the Control Panel 'Network Connections', right clicked on one and picked either enable or disable. Ideally I'd like to use a library, but if worse comes to worse I supposed I could call out to a commandline app, but that's absolute worst case. Here's what

Vim “annoyance” with keyboard layouts

筅森魡賤 提交于 2019-12-28 12:32:10
问题 Here's the thing. I have two keyboard layouts, HR (Croatian, my native language) and EN (English). Well, actually I have some more but they're not important at the moment. When working with Vim I often have to switch to EN—since on HR I don't have neither [ , ] nor { , } nor a lot of other characters—and then back to HR for my own language's characters. This is a pain. Of course, since I'm working without a taskbar this often results in wasted Shift pressing. Is there a way within Vim to

How to fix DWMAPI.DLL delay-load dependency under WinXP?

自古美人都是妖i 提交于 2019-12-28 12:00:25
问题 I have built a .dll under WinXP that claims it can't find DWMAPI.DLL when it's loaded. The problem is that this DLL is a Vista DLL, and this a known issue for XP users that have IE7 installed. The recommendation is to uninstall IE7 or repair the .NET Framework via Add/Remove programs. I did the repair, and nothing changed. I'm not about to uninstall IE7 since there must be a better solution that's not the equivalent of "reinstall windows". I've read bad things about people who attempted to

What's the fastest way to delete a large folder in Windows?

我的未来我决定 提交于 2019-12-28 04:36:31
问题 This post is a Community Wiki . Edit existing answers to improve this post. It is not currently accepting new answers. I want to delete a folder that contains thousands of files and folders. If I use Windows Explorer to delete the folder it can take 10-15 minutes (not always, but often). Is there a faster way in Windows to delete folders? Other details: I don't care about the recycle bin. It's an NTFS drive. 回答1: Use Windows Command Prompt: rmdir /s /q folder 回答2: The worst way is to send to