windows-xp

I can't get the ruby development kit working for Windows XP

折月煮酒 提交于 2019-12-06 02:36:55
问题 So, I can't for the life of my get this working properly. My ultimate goal is to get the dbd-odbc gem installed and working, and from multiple things I've read, I need to install the ODBC binding for ruby alongside the dbd-odbc gem. Well, I can get the dbd-odbc gem installed just fine, but when it comes to trying to install the binding it tanks out on me like so: Building native extensions. This could take a while... ERROR: Error installing ruby-odbc-0.9998.gem: ERROR: Failed to build gem

SNMP: Create custom OID

本秂侑毒 提交于 2019-12-06 01:47:53
问题 I need custom OIDs for monitoring some of my software states. But I just can't understand: how can I create custom OID (like .1.3.6.1.4.1.30891.100.103) in Windows XP system? I need few of them to write there some info and read it when needed but I have no idea how to create them in the system. 回答1: You should do this by writing an extension of Windows SNMP agent. The following article shows how, http://www.codeproject.com/KB/IP/SNMP_Agent_DLL__Part1_.aspx 回答2: There are a few options to

DOS legacy application with USB printer

岁酱吖の 提交于 2019-12-06 01:34:13
问题 I have the unfortunate task of doing (minimal) maintenance work on two legacy applications developed in DBIII+/Clipper '87. I have full access to source and a minimal toolchain to recompile the application when needed, but I am not allowed to reimplement it from scratch due to various (mostly psychological) reasons from the main user. Anyway, while the applications work fine under XP, hardware support is becoming a chore. The user needs to replace the failing printer (an old impact HP with

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

雨燕双飞 提交于 2019-12-06 01:32:16
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 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 discover how much RAM in computer ' Author Guy Thomas http://computerperformance.co.uk/ ' Version 1.3 - August 2010

Is it possible to run a Qt 5.10 programm on XP?

☆樱花仙子☆ 提交于 2019-12-06 01:01:48
I have deployed a 5.10 32bit msvc programm.exe and it works ok on windows 8.1. But I have to run it on XP and I can not do it. It says " progamm.exe is not a valid Win32 app ". Am I doomed? Do I have to use the last version of Qt that supports XP, like Qt5.6? Thank you! The latest version that supports XP is Qt 5.6.3. The Windows XP support is not enabled by default. You have to download the Qt source-code and compile it with ./configure -target xp . This means, if you install Qt 5.6.3 (pre-built) package the Windows XP support is not enabled! You must compile the source-code. Qt 5.6.3 is in

Create GUI from Windows Service with a Network Log on

百般思念 提交于 2019-12-06 00:34:59
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 hidden. Why is that? Is there a way to show them if a user is logged on (like when created by the

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

偶尔善良 提交于 2019-12-05 23:50:42
What kind of setup do people use to run both python 2.6 and python 3.0 on the same windows machine? 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 everything into /usr/lib/python2.4/site-packages (or whatever your platform's standard location is), it's easy

“Windows” key as part of a shortcut key

久未见 提交于 2019-12-05 23:29:14
I very often open a console window while doing my development. Usually Win + R -> cmd -> enter. However, Windows also lets you add a shortcut key to any shortcut ... but when I try to add Win + C to make the shortcut for my favorite-sized/shaped/buffered console appear, it uses Ctrl + Alt + C instead (already used in various editors and other apps...no go.) Is there any way to use the windows key as part of a shortcut key combo? (This would be with Windows XP) You can use autohotkey for this sort of thing. And while you are at it. Use console for a much improved command console experience.

What is the Windows XP equivalent of inet_pton or InetPton?

丶灬走出姿态 提交于 2019-12-05 23:27:44
问题 I need to determine whether a particular string is a valid IPv4 or IPv6 address literal. If I understand correctly, the correct way to do this on POSIX systems is to use inet_pton to convert it into a network address structure and see if it succeeds. Windows Vista and later have InetPton which does essentially the same thing. But as far as I can tell, Windows XP doesn't declare either of those, and I need to be able to do this correctly on XP. So, the question is what system function to use

Why is console output so slow?

人盡茶涼 提交于 2019-12-05 21:58:31
问题 So I have noticed this while using a few differnt languages on Windows XP, Vista and 7. If you dump a couple thousand lines a second to the console window it generally has a negative impact on the performance of the system. Computer are fast, and always faster, and the console looks like just some text on a back ground. Where is the bottle neck? 回答1: printf etc has to go from your process with some sort of IPC to the Console window process (csrss or conhost) The console can also be shared