windows-xp

how to run both python 2.6 and 3.0 on the same windows XP box?

非 Y 不嫁゛ 提交于 2019-12-07 13:25:38
问题 What kind of setup do people use to run both python 2.6 and python 3.0 on the same windows machine? 回答1: Virtualenv is the solution of choice on Unix and Mac platforms. virtualenv is a tool to create isolated Python environments. The basic problem being addressed is one of dependencies and versions, and indirectly permissions. Imagine you have an application that needs version 1 of LibFoo, but another application requires version 2. How can you use both these applications? If you install

Delphi multithreaded application built in vista and won't run in XP

邮差的信 提交于 2019-12-07 12:41:01
问题 I am really stumped. I am running delphi 2007 on vista. I have built many applications and run them in XP with no problem. This latest app had to make use of threads. I'm pretty sure my code is correct. It runs fine on Vista, but when I run it on XP (tried multiple PC's) my program seems to lag (both os's 32 bit, XP sp3 and Vista sp1, dotnet v2). Best example being if I unplug the serial port my coms will continue to run etc. I was installing delphi on my xp machine, and ran my program while

How can I change console font?

青春壹個敷衍的年華 提交于 2019-12-07 11:59:00
问题 I have a problem with output Unicode in Windows XP console. (Microsoft Windows XP [Version 5.1.2600]) First code is that(from http://www.siao2.com/2008/03/18/8306597.aspx) #include #include #include int main(void) { _setmode(_fileno(stdout), _O_U16TEXT); wprintf(L"\x043a\x043e\x0448\x043a\x0430 \x65e5\x672c\x56fd\n"); wprintf(L"èéøÞǽлљΣæča\n"); wprintf(L"ぐႢ\n"); wprintf(L"\x3050\x10a0\n"); return 0; } My codepage is 65001(CP_UTF8). Excep Ⴂ, every letter look good. But Ⴂ is look like square.

WMI Access Denied on XP

被刻印的时光 ゝ 提交于 2019-12-07 08:56:56
问题 Our application uses bunch of WMI calls. When using guest account connecting to local WMI server fails with ACCESS_DENIED, this works fine with user account and above. How to access WMI server under guest account? I added guest account to allow full access using WMIMGMT.MSC but still I am getting access denied errors. Any suggetions? 回答1: Are you sure you want to give the guest account WMI remote access? I'm not sure the security implications of that... Anyways, I think you'll need to give

How do I get rid of the console when writing GUI programs with gtk in C?

ε祈祈猫儿з 提交于 2019-12-07 08:54:59
问题 I'm following the tutorial: http://zetcode.com/tutorials/gtktutorial/firstprograms/ It works but each time I double click on the executable,there is a console which I don't want it there. How do I get rid of that console? Platform: windows XP. BTW I also have this trouble when right click on the icon: GLib-WARNING **: g_main_context_check() called recursively from within a source's check() or prepare() member. Is there anyone familiar with this? 回答1: When you link, use the argument -mwindows

How does WinXP's “Send to Compressed (zipped) Folder” decide what to include in zip file?

半城伤御伤魂 提交于 2019-12-07 07:53:14
问题 I'm not going to be too surprised if I get shot-down for asking a "non programming" question, but maybe somebody knows ... I was zipping the contents of my subversion sandbox using WinXP's inbuilt "Send to Compressed (zipped) Folder" capability and was surprised to find that the .zip file created did not contain the .svn directories and their contents. I had always assumed that all files were included and I can't locate which property/option/attribute controls inclusion or otherwise. Can

What is the cause of JVM exit code 1073807364?

送分小仙女□ 提交于 2019-12-07 06:28:54
问题 I've built a RCP-based application, and one of my users running on Windows XP, Sun JVM 1.6.0_12 had a full application crash. After the app was running for two days (and this is not a new version or anything), he got the nice gray JVM force exit box, with exit code=1073807364. He was away from the machine at the time, and the only thing I can find near that time in the application logs was some communication with the database (SQL Server by way of Hibernate). There's no hs_ files or anything

Retrieving PCI coordinates by Windows' API (user mode)

微笑、不失礼 提交于 2019-12-07 05:28:37
问题 Is there a way to obtain PCI coordinates (bus/slot/function numbers) of devices by using Windows c/c++ API (e.g PnP Configuration Manager API)? I already know how to do it in kernel mode, I need an user-mode solution. My target system is Windows XP-32 bit. 回答1: I've eventually found a simple solution (it was just a matter of digging into MSDN). This minimal code finds the device's PCI coordinates in terms of bus/slot/function: DWORD bus, addr, slot, func; HDEVINFO h; // Obtained by

Batch Script - Create user in Windows XP programmatically

眉间皱痕 提交于 2019-12-07 04:56:19
问题 Is there a way to create a user in Windows XP via Batch Script and even assign it administrator/limited user value? 回答1: Suppose the username is rased and password is pAsS net user rased pAsS /add net localgroup administrators rased /add here user is added under administrators group. 回答2: Yes, you can create a user by running net user USERNAME PASSWORD /add (omit the PASSWORD if you do not wish to have a password for this account, use * for PASSWORD to require the user to enter a password at

Remote Administration of Windows XP through the Command Line

无人久伴 提交于 2019-12-07 04:42:51
问题 Does anyone know of a good way to do remote administration of a Windows XP machine using just the command line? At the moment the only things it needs to do is to be able to install applications/patches, and transfer files to and from the machine, and installing registry patches would be nice as well. Currently we use a horrible hacked together solution that uses NetMeeting, in the past I've thrown together a proof of concept using SSH for windows (at the time windows 2000) but it didn't work