windows-xp

MSMQ on Win2008 R2 won’t receive messages from older clients

你。 提交于 2020-01-24 08:24:27
问题 I'm battling a really weird problem here. I have a Windows 2008 R2 server with Message Queueing installed. On another machine, running Windows 2003 is a service that is set up to send messages to a public queue on the 2008 server. However, messages never show up on the server. I've written a small console app that just sends a "Hello World" message to a test queue on the 2008 machine. Running this app on XP or 2003 results in absolutely nothing. However, when I try running the app on my

Windows theme affecting ListView header

江枫思渺然 提交于 2020-01-24 02:22:04
问题 I've created new Windows Forms Application (C#) with one simple form containing ListView. Then I have changed the View Property to Details and increased the size of the font used in this ListView and here's the result: This is how it looks on Windows XP with Windows Classic theme: and here's the result with Windows XP theme: I can prevent the appearance of my application to be affected by Visual Styles either by removing Application.EnableVisualStyles() call or by changing the Application

Best way of detecting if Windows has Windows Updates ready to download/install?

蹲街弑〆低调 提交于 2020-01-21 08:36:48
问题 I'm specifically interested in Windows 2000/XP, but Vista/7 would be interesting too (if different). I was thinking along the lines of task scheduling a batch file or equivalent on a daily basis. EDIT: Sorry, I should have provided more info. The question pertains to 10 machines which I manually apply updates. I don't want to install the updates programatically, but just find out if there are updates ready to download/install (i.e. the update shield icon in the system tray is indicating this)

Modify for loop to not use delayedexpansion in batch script

偶尔善良 提交于 2020-01-17 10:54:10
问题 In my efforts to understand the for..do loops syntax and their use of %% variables. I have gone through 2 specific examples/implementations where the one for loop does not use DELAYEDEXPANSION and another where it does use DELAYEDEXPANSION with the ! notation. The 1st for loop appears to be compatible with older OSs like the Windows XP whereas the 2nd for loop example does not. Specifically, the 1st for loop example is taken from this answer (which is related to this) and the 2nd for loop

WPF Child Windows problem in Windows XP

自闭症网瘾萝莉.ら 提交于 2020-01-17 04:11:26
问题 I have written a WPF program that when user clicked a button, a new window will be popped up. I have tried to show the new window by using Show() or ShowDialog() function. In Windows 7 , when user closed the child window, the main window will remain and the program will not exit. This behavior is what I want to have. However, when the program is run in Windows XP , when user closed the child window, the main window will be closed together and the whole program will be exited. I have tried to

shell:Common Startup as a parameter to XCOPY

冷暖自知 提交于 2020-01-16 19:03:07
问题 I have a simple batch script that copies a file to the startup folder, but it appears that I can't use shell:Common Startup as a parameter to xcopy. I have tried this xcopy hurrdurr.exe "shell:Common Startup" and many other variations, and they don't work. As an aside, if this did work, "hurrdurr.exe" would run on every startup right, assuming I got clearance via uac to do the xcopy operation? Would using a environment variable be better? The os in question is Windows XP and proceeding. 回答1:

shell:Common Startup as a parameter to XCOPY

浪子不回头ぞ 提交于 2020-01-16 19:03:05
问题 I have a simple batch script that copies a file to the startup folder, but it appears that I can't use shell:Common Startup as a parameter to xcopy. I have tried this xcopy hurrdurr.exe "shell:Common Startup" and many other variations, and they don't work. As an aside, if this did work, "hurrdurr.exe" would run on every startup right, assuming I got clearance via uac to do the xcopy operation? Would using a environment variable be better? The os in question is Windows XP and proceeding. 回答1:

How to blit a image directly to the screen without a window?

谁说我不能喝 提交于 2020-01-16 04:44:10
问题 How do I show a image from a PNG, BITMAP, JPEG file, ect. on the screen without a window? I want the image to appear with no frame surrounding it preferably without it registering on the task bar as a window. I would like to put these images on the screen in rapid succession. I would like it if it was compatible with Windows XP and Windows 7. I am willing to download a external module. If this is possible, please tell me. Thanks! 回答1: This will create a shaped window with transparent

Is it possible to kill a C++ application on Windows XP without unwinding the call stack?

微笑、不失礼 提交于 2020-01-15 02:39:19
问题 My understanding is that when you kill a C++ application through Task Manager in Windows XP, the application is still "cleanly" destructed - i.e. the call stack will unwind and all the relevant object destructors will be invoked. Not sure if my understanding is wrong here. Is it possible to kill such an application immediately, without unwinding the stack? For example, the application may employ RAII patterns which will destroy or release resources when an object is destructed. If the

Qt creator high cpu usage in editor

房东的猫 提交于 2020-01-14 13:48:07
问题 Even in simple applications (as simple as QWidgets app made from wizard) qtcreator.exe spikes to 50% (1 core) every other time when editing code. Seems like it parses the whole project even after several new characters where typed in, making it unresponsive and to some point unusable. This gets worse with project size, so after adding several cpp/h modules with a dozen of classes it makes people nervous. The same project works flawlessly in Qt under debian, su I suppose it's connected to