Re: ReadFile() fails on hardware RAID disk.How to detect that disk

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Another hint - a handle to file (device). Does it remains the same at
different levels of code? It's a common mistake to declare handle in stack,
then make corruption of stack, and then the handle get's overwritten, so
ReadFile can complain on handle value ...

--
Volodymyr
"Zeeshan" <Zeeshan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:337D2085-7D0F-4725-851D-357584B02B9C@xxxxxxxxxxxxxxxx
HI Volodymyr ,

Thanx for the response. Let me tell u i used all methods to allocate
memory
and checked the pointer as well as memory in memory watch....nothing was
wrong.

Any body know about detecting RAID disk in windows?


.



Relevant Pages

  • Re: Difference between the stack and the heap?
    ... If you just declare a variable or array like this: ... the system uses a stack. ... char * pc = malloc; ... then the memory is allocated on the heap, ...
    (comp.lang.c)
  • Re: SDCC and internal RAM layout for 8051
    ... Now, if I declare one more global char variable, I get this dreaded ... The stack can use iData, but Data variables cannot extend past ... The directly addressable Data memory ends at 0x7F. ... You can make the stack start where you like (in Data or iData), but SDCC should place it automatically, see below. ...
    (comp.arch.embedded)
  • Re: Memory Analysis confuse me
    ... memory size are growing to 100MB. ... If I declare a huge parameter in the stack, but do not initialze, ...
    (comp.os.linux.misc)
  • Re: reset memory size
    ... Tim Ward wrote: ... >>size of memory to run, and when I declare the objects to the size I need ... > Allocate on the heap rather than the stack? ...
    (microsoft.public.vc.mfc)
  • Re: If Macs have no spyware....
    ... >had made a complete code review of its operating system and removed all ... and writing new data into those memory locations would ... >but when the data exists on the stack, it can cause very large problems. ... >location that needs to be written in place of the correct execution ...
    (comp.sys.mac.advocacy)