windows-xp

DOS legacy application with USB printer

怎甘沉沦 提交于 2019-12-04 06:17:27
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 parallel interface) and the 486 (!) desktop where the applications are hosted. The main problem now is to

tkinter 'NoneType' object has no attribute 'pack' (Still works?)

谁说我不能喝 提交于 2019-12-04 06:13:23
问题 I'm fairly new to Python and have just started to play around with tkinter. Running the below code I get an attribute error for but1.pack() ( NoneType object has no attribute pack ). But as far as I can tell this error is having no effect on the window's functionality, it is still pack ing the button. The window still appears and all the buttons behave as expected. Searching I can see other people have had this error, but none of the answers given solved my problem. Hoping you can help. The

What is the Windows XP equivalent of inet_pton or InetPton?

一曲冷凌霜 提交于 2019-12-04 05:47:52
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 to do this? Worst case, I can write a function to parse it myself, but I'd prefer a standard, system

Rotating displays programmatically in Windows XP? (C++/Qt and WindowsAPI)

↘锁芯ラ 提交于 2019-12-04 04:58:06
问题 So, essentially, we're writing a service-level application that can alter attributes of various user-level settings. I'm working on the display portion right now. We've gotten it to work for the version of our software for Windows 7, and almost everything works with the exception of rotating the displays in Windows XP (which, curiously, DOES work in Windows 7). The "ChangeDisplaySettingsEX" function in the Windows API provided by Microsoft is returning the return code for a bad display mode

how to set the default encoding in windows XP?

大憨熊 提交于 2019-12-04 04:53:57
im trying to open a file using StreamReader and ive to set a Encoding, but i want it to take the Default Windows Encoding... how can i change my windows Encoding ??? Regional and Language Options Control Panel Item; Advanced tab. Impacts the entire computer. 来源: https://stackoverflow.com/questions/469163/how-to-set-the-default-encoding-in-windows-xp

Why is console output so slow?

依然范特西╮ 提交于 2019-12-04 04:50:01
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? 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 with several processes so there is also some synchronization and buffering going on. 来源: https://stackoverflow

Android create avd size on windows command prompt

白昼怎懂夜的黑 提交于 2019-12-04 04:48:53
问题 I'm starting with Android development and I have no idea what's wrong on the this command line: C:\Documents and Settings\Gabriel.Esquivel.android\avd>android create avd -n Ev o4G -t 9 -c 8000MB -s 480-800 Valid skins: WVGA854, WQVGA400, HVGA (default), WQVGA432, WVGA800, QVGA Error: '480-800' is not a valid skin name or size (NNNxMMM) I am trying to create the following AVDs http://mobile.tutsplus.com/tutorials/android/common-android-virtual-device-configurations/, but it won't work on from

Can I use the Visual Studio 2010 remote debugger on Windows XP to debug a .Net 4.0 app from Visual Studio 2012?

风格不统一 提交于 2019-12-04 03:27:56
问题 Can I use the Visual Studio 2010 remote debugger on Windows XP to debug a .Net 4.0 app from Visual Studio 2012? I am trying to, here is a screenshot of my XP machine (I have disabled the local firewall temporarily): Here is Visual Studio 2012 (the text in the remote machine box is identical to the server name indictaed by the Visual Studio remote debugger): When I try to debug, I get this error: If I change the computer name to anything else, I get this error: Is being able to debug .Net 4.0

Copy as path in windows context menu

隐身守侯 提交于 2019-12-04 02:57:08
问题 I'm trying to implement "Copy as path" option in windows context menu ,which copies current file or folder path to clip board instead of installing a software for this , i would like to implement it my self. Any suggestions? 回答1: You can add a link to the context menu by fiddling with the File Types dialog, or using the registry. In the registry, the path is HKEY_CLASSES_ROOT\*\shell . Add a key under that named "Copy as path", and a key under that named "command". Change command's default

Is it possible to achieve the “Aero Glass” look on XP?

这一生的挚爱 提交于 2019-12-04 02:13:47
问题 Does anyone know any kind of framework that enables (not exactly the same, but) Vista's Aero Glass on XP? I need to develop a little desktop application with WPF, which has a Vista-like UI on XP. I don't need exactly the Aero Glass, some UI like "Windows Live Messenger" will do the thing. Is there any way to make it a reality? 回答1: If you really mean Aero Glass then I think you're out of luck. The hardware acceleration required to create this effect is only supported via Vista's new DWM