windows-xp

HTML 5 audio, video is not working Safari 5.1 WinXP

只谈情不闲聊 提交于 2019-12-08 03:34:50
问题 I am using safari 5.1 version browser. Refer the screen shot about my safari. I am executing the following audio tag as html file, the audio is not playing. <!DOCTYPE html> <html> <head> <title>Multi-Source Audio Player</title> </head> <body> <audio controls> <source src="data/horse.ogg" type="audio/ogg"> <source src="data/horse.mp3" type="audio/mpeg"> </audio> </body> </html> And also I test the audio with live sample w3school, its also no playing. Please suggest how can I play HTML5 audio

Different versions of C++ libraries

人走茶凉 提交于 2019-12-08 02:45:55
问题 After compiling a simple C++ project using Visual Studio 2008 on vista, everything runs fine on the original vista machine and other vista computers. However, moving it over to an XP box results in an error message: "The application failed to start because the application configuration is incorrect". What do I have to do so my compiled EXE works on XP and Vista? I had this same problem a few months ago, and just fiddling with some settings on the project fixed it, but I don't remember which

How to find all 'SVN working copies' on Win XP

若如初见. 提交于 2019-12-08 02:03:43
问题 I have Windows XP. I'd like to upgrade my TortoiseSVN to version 1.7. In order to do that I need to ensure that I can find all SVN working copies on my PC. So they can be updated. I have found a similar question but it is specific to Powershell. So, I was wondering if there was a more general solution to find all 'SVN working copies' on Win XP. If I knew the equivalent of 'linux find' on windows I could probably write it myself. But I'm hoping that there may be a bash script out there already

Processes launched by a service can't allocate memory

六月ゝ 毕业季﹏ 提交于 2019-12-08 01:52:41
问题 This question was migrated from Super User because it can be answered on Stack Overflow. Migrated 8 years ago . I have a C# service running as the LocalSystem account which launches numerous other processes depending on what its needs are. This has been going fine for a few months. Just this week, some of the sub-processes are crashing. I've attached a remote debugger to them, and they're failing in memory allocations (C++ new operator returns 0x0), which is the indirect cause of the crash.

Mapping of several big files into memory

女生的网名这么多〃 提交于 2019-12-07 21:40:21
问题 In our application we have to be able to map several (i.e. maybe up to 4) files into memory (via mapViewOfFile ). For a long time this has not been a problem, but as the files were getting bigger and bigger over the last years, now memory fragmentation prevents us from mapping those big files (files will be about 200 MB). The problem may already exist if no other files are loaded at that moment. I am now looking for a way t make sure that the mapping is always successful. Therefor I wanted to

How to install a service with the delayed-auto startup type in Windows XP

帅比萌擦擦* 提交于 2019-12-07 18:06:40
问题 My installer creates services with the following command in Inno Setup: Filename: {sys}\sc.exe; Check: IsAdminLoggedOn; Parameters: "create Example start= delayed-auto binPath= ""{app}\Example.exe"""; Flags: runhidden This line works in all Windows besides Windows XP because the delayed-auto startup type is not supported in Windows XP. I need to use the delayed-auto startup type for two reasons. My service needs to always run on the background without user intervention, which means that the

WMI - Directly accessing the singleton instance of Win32_OperatingSystem

佐手、 提交于 2019-12-07 16:32:54
问题 I've having trouble directly accessing the Win32_OperatingSystem management class that is exposed via WMI. It is a singleton class, and I'm pretty certain "Win32_OperatingSystem=@" is the correct path syntax to get the instance of a singleton. The call to InvokeMethod produces the exception listed at the bottom of the question, as does accessing the ClassPath property (commented line). What am I doing wrong? [I'm aware that I can use ManagementObjectSearcher/ObjectQuery to return a collection

Loop for hidden folderes in Windows

人走茶凉 提交于 2019-12-07 15:22:26
问题 How can I loop through all hidden folders, in windows-cmd? This code FOR /D %i IN (*) DO @echo %i handles only non-hidden folders. 回答1: To loop through all folder in a directory (including hidden folders) in cmd you can use: FOR /F "tokens=*" %i IN ('DIR /A:D /b') do @echo %i You can exclude system folder using: FOR /F "tokens=*" %i IN ('DIR /A:D-S /b') do @echo %i And if you want to get subfolders (you might not want to this in a folder with many subfolders) : FOR /F "tokens=*" %i IN ('DIR

How to develop using WIA 1 under Vista?

女生的网名这么多〃 提交于 2019-12-07 14:07:56
问题 I'm using VS2008 SP1 under Vista SP1. My .Net-program uses a COM reference to WIA (Microsoft Windows Image Acquisition Library v2.0). I'm using CommonDialogClass.ShowAcquireImage to scan a document and it's working fine. One of my customers is running XP. As I understand WIA, under XP you have to use WIALib (WIA 1.0). Is it possible to develop under Vista using WIA1? 回答1: MS does allow you to download the WIA 2.0 library for XP here. That way your customer can use your app as is. Also, I like

How to view Mercurial changeset changes using a GUI diff tool

不想你离开。 提交于 2019-12-07 13:49:21
问题 We use both Examdiff and Kdiff3 to view Mercurial changes. Just add this to .hgrc : [extdiff] cmd.kdiff3 = cmd.examdiff = C:\Program Files\ExamDiff Pro\ExamDiff.exe And then you can type hg examdiff or hg diff3 to see a complete diff of all your changes. What I would like is to do the same to see a "before and after" of files for a given changeset that was checked in by someone else. I know you can type hg log to see all changesets and then hg log -vprXX to see a text diff, but that's too