windows-xp

can .net framework 4 works on top of windows xp?

会有一股神秘感。 提交于 2019-12-31 01:27:25
问题 I tried to run a small application that I've written using VS2010 on my old Windows XP desktop. I got the yellow screen of death showing me a portion of the web.config with assemblies. <compilation debug="true" targetFramework="4.0"> It looks like it didn't like the 4.0 framework. I re-wrote it, targeting 3.5 framework, this time it worked perfectly. I'd like to know if I can install .net framework 4.0 on top of Windows XP? Thanks for helping 回答1: The system requirements indicate that Windows

Remove application from taskbar with C# wrapper?

て烟熏妆下的殇ゞ 提交于 2019-12-30 12:24:24
问题 Is there a way to build a C# wrapper for an existing application that will allow me to remove it from the taskbar? More info: I have an timer app that I suppose to use but don't because it well... sucks. See https://superuser.com/questions/92774/quickbooks-timer-replacement-windows. So to make it suck less I wonder if I can build a wrapper then just interact with that wrapper instead. Removing the timer from the taskbar and then having my app hid/show it would be a step in that direction. The

Remove application from taskbar with C# wrapper?

≡放荡痞女 提交于 2019-12-30 12:24:14
问题 Is there a way to build a C# wrapper for an existing application that will allow me to remove it from the taskbar? More info: I have an timer app that I suppose to use but don't because it well... sucks. See https://superuser.com/questions/92774/quickbooks-timer-replacement-windows. So to make it suck less I wonder if I can build a wrapper then just interact with that wrapper instead. Removing the timer from the taskbar and then having my app hid/show it would be a step in that direction. The

How do I handle a failed DllImport?

你离开我真会死。 提交于 2019-12-30 10:10:31
问题 I'm attempting to write a C# managed class to wrap SHGetKnownFolderPath, so far it works on Vista, but crashes on XP due to not finding the proper function in shell32.dll, as expected. I want to have it set so I can fallback on a (admittedly hacky) solution using System.Environment.GetFolderPath if using XP. (Or, even better, if it can't find the funciton in shell32.) Is there any way to do this other then conditional compilation? My current code looks like: public abstract class KnownFolders

Drawing video with text on top

拥有回忆 提交于 2019-12-30 08:54:28
问题 I am working on an application and I have a problem I just cant seem to find a solution for. The application is written in vc++. What I need to do is display a YUV video feed with text on top of it. Right now it works correctly by drawing the text in the OnPaint method using GDI and the video on a DirectDraw overlay. I need to get rid of the overlay because it causes to many problems. It wont work on some video cards, vista, 7, etc. I cant figure out a way to complete the same thing in a more

Drawing video with text on top

穿精又带淫゛_ 提交于 2019-12-30 08:54:10
问题 I am working on an application and I have a problem I just cant seem to find a solution for. The application is written in vc++. What I need to do is display a YUV video feed with text on top of it. Right now it works correctly by drawing the text in the OnPaint method using GDI and the video on a DirectDraw overlay. I need to get rid of the overlay because it causes to many problems. It wont work on some video cards, vista, 7, etc. I cant figure out a way to complete the same thing in a more

get current working directory in Lua

时光毁灭记忆、已成空白 提交于 2019-12-30 05:47:12
问题 What's the Lua to get the current working directory on Windows XP SP3 (or to get the directory of the currently-running Lua file)? I prefer not to use LuaFileSystem. I can't use os.execute("cd") because os.execute always starts from my home directory (and thus always yields C:\Documents and Settings\username ). 回答1: Lua by default doesn't have a "native" way of supporting the concept of "current directory", or, in fact, the concept of "directory". The proper way to get the current directory

CMD: failure of %~d0 when CALL quotes the name of the batch file

风流意气都作罢 提交于 2019-12-30 04:57:06
问题 Why the following failure of %~d0 to return the batch file's drive letter S: when CALL quotes the name of the batch file? S:\!DJ DAP>type test.bat R: %~d0 S:\!DJ DAP>call test.bat S:\!DJ DAP>R: R:\>S: S:\!DJ DAP>call "test.bat" S:\!DJ DAP>R: R:\>R: R:\> EDIT following responses from Jerry and MC: Here's a non-CALL example showing the same: R:\>s: S:\!DJ DAP>type test.bat R: %~d0 S:\!DJ DAP>test.bat S:\!DJ DAP>R: R:\>S: S:\!DJ DAP>"test.bat" S:\!DJ DAP>R: R:\>R: R:\> 回答1: EDIT - npocmaka, you

Problem with FIPS Validated Cryptographic Algorithms

馋奶兔 提交于 2019-12-30 04:34:25
问题 I am running Visual Studio 2008 Version 9.0.30729.1 SP with .NET 3.5 SP 1 under Windows XP Pro Version 2002 SP 3 with an Intel Core 2 Duo E8400 3 GHz processor. I am developing a C# WPF application that uses the Microsoft Patterns & Practices group's Composite Application Library (CAL). I am getting the following compliation error in XAML: "MC1000: This implementation is not part of the Windows platform FIPS validated cryptographic algorithms." I have found a hotfix that is supposed to fix

Getting python to print in UTF8 on Windows XP with the console

Deadly 提交于 2019-12-30 04:11:06
问题 I would like to configure my console on Windows XP to support UTF8 and to have python detect that and work with it. So far, my attempts: C:\Documents and Settings\Philippe>C:\Python25\python.exe Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> print u'é' é >>> import sys >>> sys.stdout.encoding 'cp437' >>> quit() So, by default I am in cp437 and python detects that just fine. C: