windows-xp

What versions of Python will work in Windows XP?

我是研究僧i 提交于 2020-01-03 09:29:26
问题 I would like the most advanced version of Python that still works on windows XP. I need Python 2 and Python 3. What versions of Python will work in Windows XP? 回答1: I found that python 2.7.9 and python 3.4.3 are the newest versions of python that work in windows xp. I found this out through trial and error. 回答2: I've found a desperate guy (Daniel Pistelli) who didn't give up at the windows error dialog: https://ntcore.com/?p=458 I like how he approaches the topic: If we try to start any new

vbs script to change shortcuts working in 7 but not in XP

允我心安 提交于 2020-01-03 05:12:06
问题 I'm trying to write a script that will update desktop shortcuts in WinXP and Win7 (32 and 64bit). I'm having 2 problems, in XP, the target path of the shortcut won't change, and in both XP and 7, the "Start In" part of the shortcut won't change. Whats wrong here and how can I correct? If InStr(GetWindowsVer(), "XP") > 0 then IterateFolder("C:\Documents and Settings\") Elseif InStr(GetWindowsVer(), "7") > 0 then IterateFolder("C:\Users\") End if Sub IterateFolder(folderPath) Dim

SqlCe opens slow under a limited user account in Windows XP

蓝咒 提交于 2020-01-02 10:19:23
问题 I have a windows application built with .NET 4.0. It has a SqlCe database under its program files directory: C:\Program Files\Company Name\Application Name\Data\Data.sdf This application is installed with Inno Setup and the Data folder is given permission with this inno setup configuration: [Dirs] Name: {app}\Data; Permissions: users-modify However, even if I deploy this application without the installer (just zip up all the files from my development machine and unzip on the target machine's

Create GUI from Windows Service with a Network Log on

冷暖自知 提交于 2020-01-02 08:33:25
问题 I have been reading a lot about executing a GUI application from a Windows Service. The "Allow service to interact with desktop" check box worked for me when the Service runs as the SYSTEM user (I am using Windows XP). Now I need the Service to run as a User defined in a domain (from the network). Everything works fine (even if no user is logged into the machine) but the GUIs are not shown (even if the same network user is logged in!). I know that the GUIs are running, it's just that they are

Create GUI from Windows Service with a Network Log on

佐手、 提交于 2020-01-02 08:32:25
问题 I have been reading a lot about executing a GUI application from a Windows Service. The "Allow service to interact with desktop" check box worked for me when the Service runs as the SYSTEM user (I am using Windows XP). Now I need the Service to run as a User defined in a domain (from the network). Everything works fine (even if no user is logged into the machine) but the GUIs are not shown (even if the same network user is logged in!). I know that the GUIs are running, it's just that they are

Create GUI from Windows Service with a Network Log on

心不动则不痛 提交于 2020-01-02 08:32:14
问题 I have been reading a lot about executing a GUI application from a Windows Service. The "Allow service to interact with desktop" check box worked for me when the Service runs as the SYSTEM user (I am using Windows XP). Now I need the Service to run as a User defined in a domain (from the network). Everything works fine (even if no user is logged into the machine) but the GUIs are not shown (even if the same network user is logged in!). I know that the GUIs are running, it's just that they are

How to copy a large file in Windows XP?

我只是一个虾纸丫 提交于 2020-01-02 07:35:09
问题 I have a large file in windows XP - its 38GB. (a VM image) I cannot seem to copy it. Dragging on the desktop - gives error of "Insufficient system resources exist to complete the requested service" Using Java - FileChannel.transferTo(0, fileSize, dest) fails for all files > 2GB Using Java - FileChannel.transferTo() in chunks of 100Mb fails after ~18Gb java.io.IOException: Insufficient system resources exist to complete the requested service at sun.nio.ch.FileDispatcher.write0(Native Method)

How to issue a READ CD command to a CD-ROM drive in Windows?

非 Y 不嫁゛ 提交于 2020-01-02 07:29:22
问题 I'm working on an application that needs to issue raw SCSI commands to a CD-ROM drive. Currently, I'm struggling with sending a READ CD ( 0xBE ) command to the drive and getting back the data from a given sector of the CD. Consider the following code : #include <windows.h> #include <winioctl.h> #include <ntddcdrm.h> #include <ntddscsi.h> #include <stddef.h> int main(void) { HANDLE fh; DWORD ioctl_bytes; BOOL ioctl_rv; const UCHAR cdb[] = { 0xBE, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0 }; UCHAR buf

How to check available memory (RAM) via batch script?

…衆ロ難τιáo~ 提交于 2020-01-02 07:28:06
问题 I would like to know that how we can check the available memory in batch script? Is there any method already available? If it is not possible in batch script then is there any other way by which we can get the memory available? OS: Windows XP / Windows 7 回答1: This site has a sample VBScript that retrieves the total amount of memory: http://www.computerperformance.co.uk/vbscript/wmi_memory.htm It can be adapted to report the available amount of memory: ' Memory.vbs ' Sample VBScript to

How to load GetMappedFileName correctly based on windows version

可紊 提交于 2020-01-02 07:08:18
问题 MSDN's remarks section, described here, specifically mentions there is a difference between the loading types of the following function. Since my module is portable and loads models dynamically, I'm not allowed / able to use any pre-processors commands: #if (PSAPI_VERSION == 2) (GetProcAddress("kernel32.dll", OBFUSCATE(L"K32GetMappedFileNameW"))); #elif (PSAPI_VERSION == 1) (GetProcAddress("psapi.dll", OBFUSCATE(L"GetMappedFileNameW"))); #endif In addition - Kernel32.dll on Windows 7 and