|
The most common cause of this problem is using a 40-way cable on an ATA-66 (or faster) parallel ATA drive. These drives require an 80-way cable (every other wire being a ground wire) to run at the highest speeds.
To prevent the problem Windows drops the bus speed further and further down and eventually reverts to Programmed I/O, which is incredibly slow. This generally causes timeouts when doing I/O.
New Serial ATA wiring does not have this problem, but Windows treats any disk error on an ATA-compatible drive in the same way if using the standard ATA driver (atapi.sys/pciide.sys).
Check that the cable is the correct type, is not damaged and is correctly installed. Also check that it's relatively short, just long enough to reach between the controller and disk. If you can, swap the cable with a known good one.
If you still have problems the disk or motherboard may be faulty.
Another source of problems that can manifest in many different ways is component overheating, due to inadequate ventilation or blocked ventilation holes. It's common to get a build-up of dust in fans and other confined spaces.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Thanks Mike for your transparent answer does graphic card culprit for this problem or vista 64Bit (I bought this computer 3 or 4 months ago but I have this error of 1 months ago) So you think this problem is of hardware and not sotftware,right?
|
|
|
|
|
I dont get this error repeated I get this error when I want to run a program or when I want to sacan my harddisk with Anivirus I get this error on the XP pack2 on the XP pack1 when I want to uninstall a program or delete some files my computer is freezed but on the Vista I can delete files.
And another question do you have any idea about graphic driver that windows shows me this device has problem but when I restart it,it doesnt show any problem
|
|
|
|
|
I'm currently struggling with writing a simple UMDF driver for USB Device Firmware Upgrade (DFU) to be used on WinXP.
I've used the final stage of the OSR USB Fx2 sample as starting point, but removed the read/write queue since the communication is done on ep0 solely.
It builds fine.
When I power up my device and try to install the driver it fails to start the driver and complains about a missing file (error code 10).
I fired up the Dependency Walker and it tells me that it cannot find DwmApi.dll.
I've tried to build with the build environment for both Vista and XP but the result stays the same.
What I've gathered from reading forums and such is that the DmwApi library is not used on XP platform and is designed for Vista. The problem "may be fixed from repairing the .NET installation" and I've tried this, but with the same result.
If I use the WdfVerifier and configure it to break when the WdfHost process starts, it fails and tells me that a file is missing. I suppose it's the same file, DwmApi.dll.
My question is simply "where did I screw up"...
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
With Dependency Walker you have to differentiate between delay-loaded DLLs and static DLLs. Delay-loaded DLLs have an hourglass icon against them in the tree and module list; they're loaded when the first function in them is actually referenced. It's unlikely that DWMAPI.DLL is the problem, as it shouldn't be actually referenced by code running on XP.
In my case DWMAPI.DLL always shows up as missing when checking almost anything, because it's delay-loaded by IEFRAME.DLL if you've installed Internet Explorer 7 on Windows XP. In turn that's delay-loaded by MSHTML.DLL, which is delay-loaded by SHDOCVW.DLL, and that by SHELL32.DLL.
There will be some other DLL that isn't present.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Yep, I realized that the DwmApi lib is delay loaded.
On the other hand it was the only file I found to be missing. I guessed that it could not be this file, but thought "I don't know everything so it might be this file anyway".
Something has happened to my system, or I am making some kind of mistake, but neither my driver nor the UMDF example drivers will install correctly. Every single one fails to start with error code 10.
The most simple one is 'socketecho'. I have installed previously and even though it didn't work as I expected in overlapped mode, it installed and started as expected at that time. Now it doesn't start when I install it any longer.
I've tried to install the driver on other machines as well, but still with error code 10, so I guess it's related to the build tools and/or the .inf-file.
This is my first contact with WDF/UMDF and I haven't found very much help on the net. It seems like the framework isn't very well utilized. Even the forum on the MS Connect site contains about 10 posts from the last two years.
Any idea?
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
|
Hi there!
I am currently a student who is starting my third year software engineering project and the project I have decided to do is to write a music player (based on tracker modules like MOD/XM/S3M etc, but using my own concept.) for particularly a Windows platform (my computer is Windows XP OS).
For writing a player at such a level I would like to start on writing a sound mixer to mix audio data to a buffer and then send to an available sound card, whether onboard or external hardware.
I was wondering if anyone has some background on how to do processes such as detecting a sound card on your machine and then control it from there. I know there are libraries such as DirectSound and OpenAL, but looking at some open-source module players such as mini-fmod, the source seems to use the low level technologies, which I would reckon would be faster.
I am quite new to this stuff and want to try and overcome some problems in device driver programming. I recently looked up on WDM programming but at the moment it's far from my level of knowledge and that I'm not sure if that's the way to go.
Any hints, references, previous message boards, links or online books to these kind of tutorials/resources would be much appreciated, as I'm having a tough time looking for these at present.
Thanks & greetings!
-
OCrowley
|
|
|
|
|
OCrowley,
What a great concept. I visited the FMOD API Feature Description[^] site, just to get an idea of what you are attempting to do.
I think alot depends on just what features you actually want to make available in your application. I would avoid writing a kernel mode audio-streaming driver, if possible, because they are so incredibly difficult to get right. However, there are many references for this type of programming, spread all over the internet. And, you are correct, determining your sound card capabilities is the most important initial step.
You might want to check out SourceForge. Especially, the Media Player Classic[^] Project. This player also playes video and assorted graphics files, but the site contains an enormous amount of source code.
Other useful sources of information are:
Microsoft DirectShow API reference[^]
Microsoft DirectSound API[^]
Windows Media Audio and Video Codec and DSP APIs[^]
Windows Multimedia Musical Instrument Digital Interface (MIDI)[^]
The CodeProject has numerous articles on audio programming with available source code[^]
Several example articles:
CodeProject's Developing MIDI Application with DirectMusic[^]
CodeProject's Converting Wave File to MP3 Format with the DirectShow API[^]
Both the Steinberg VST Plug-In Developer's SDK[^], and Cakewalk DXi Plug-In Developer's SDK[^], are Open Source Audio Synthesizer Plug-In Components.
Also, you will have numerous audio library dependencies. Ogg Vorbis is Open Source. Vorbis Audio Compression[^], and,
Ogg Vorbis Source Download[^]. There are several Ogg Vorbis players on Sourceforge: Ogg Vorbis Player[^] andCool Player[^]
The Synthesis C++ Toolkit SDK[^] is another Open Source Audio Signal Processing Library.
Also, Open Source, and used in many applications is:
SourceForge, LAME Project, MP3 Audio Encoder[^]
There are also many informative web sites out there. Here are some that I found to be interesting:
Stanford University, Center for Research in Music and Acoustics, Audio Signal Processing Overview[^]
Wave File Format FAQ[^], and C++ source code for reading and writing Wave Files[^]
Audio Programming at Harmony Central[^]
DSP Guru, Digital Signal Processing Central[^]
Music-DSP, Source Code Archive[^]
Technical Windows Programming Forums and Blogs:
Google, DirectX, Audio Forum[^]
WDM Kernel Streaming Audio Driver Developers Blog[^]
Larry Osterman's Audio Programming Blog[^]
Too much information? Brain feel like it's gonna explode?
|
|
|
|
|
Hello Baltoro! Thanks for your response.
I must say that these links you have provided are extremely useful and that many are exactly the resources I have been looking for, I thank you so much for that!! ...and no, my brain isn't overloaded now, as this is information I have been seeking for a long time! hehe
I'll see how I can do with this information you have provided so far.
Once again, thank you so much !
Best regards,
OCrowley.
p.s. more information is welcome from anyone else so that I can progress as smooth as possible.
|
|
|
|
|
OCrowley,
I had a similar concept for a music application awhile back, and so I created an HTML page of useful sites for reference. It's amazing how much technical information is out there on the Internet on just Digital Signal Processing (DSP), although, you probably would not use it in a tracker.
DirectSound has a device capabilities query function: Device Capabilities[^], which returns a DSCAPS Structure[^].
Something to keep in mind, the DirectShow API is only available with the Windows XP SDK version; from what I've heard, it is NOT compatible with the Vista SDK.
|
|
|
|
|
Hi,
I want to get information about hardware temperature, voltage and fan speed. When I use WMI functions - no results!!
I' ve download some programms that get such information and I've interested how this programms doesn't use any external DLLs?? Whether there is other way to view information from sensors (instead WMI functions)??
Thanks!!!
modified on Tuesday, May 27, 2008 5:48 AM
|
|
|
|
|
Same problem for me also.
My BIOS showing the udpated CPU Fan speed every time.
How can i read that from BIOS ?
I'm not sure about that, its available with all BIOS versions..
|
|
|
|
|
I think assembler insertions into C++ code can do it, but I haven't got any theories how to realise it.
|
|
|
|
|
mm..
still i'm googling..
but no way !!
|
|
|
|
|
So, I'm googling a lot too. I asked this question on many forums, but nobody knows how to do it, that's why I had posted here.
|
|
|
|
|
Hi, I have a problem with my Samsung DVD-Rom. The problem is when my computer is turn on, the DVD tray always come out. Whether i try to push the button to make it come into the computer, but it always eject by itself. I don't know why cause this problem and it just happend in this week. Another application my system is running fine except this DVD-Rom. Does anyone has any experience to solve this problem? Thank in advance
|
|
|
|
|
Sounds like the drive has died. Buy LG next time, they've never let me down.
There is a chance something you installed the day before is doing this but unlikely.
|
|
|
|
|
Trollslayer wrote: Sounds like the drive has died
I can't say it is died or not. But when I try to use my hand to push it in for a while, it could play the movie as normal. But if i finsih my playing DVD and eject the disc and try to turn the tray in again, its always come out. I don't know whether it is completly died or not. Please suggest me. Thank!!!
|
|
|
|
|
|
Well, the closing mechanism of CD and DVD drives is supposed to not close the tray with force and reopen if something (i.e. your hand) gets in the way.
Add to this that open trays close automatically at powerup, and you come to the conclusion that the loader mechanism is broken. Which makes a new drive mandatory at some point.
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
Thank you very much for your support.
|
|
|
|
|
Would someone know the difference between the two Api's
Why would someone use one instead of the other
|
|
|
|
|
ReadProcessMemory is for reading the memory of a different process. MemCpy is for copying memory to another location but only works inside the process that calls it.
|
|
|
|
|
Thankx
you have got a point this question probably wasn't that complicated and I should of researched it an come up with the answer on my own sorry to waste your time
|
|
|
|