Re: Reading at any memory location.

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

From: Alex the 1'th (AlX_at_a)
Date: 08/16/04


Date: Mon, 16 Aug 2004 18:04:15 +0300

You ussually allocate same memory then use use it...around this parts...
You can't access memory in the range 0-64k because you don't have any
buissness to do that. That VA range dosn't belong to you so you can't access
it, end of story.
The 0 or NULL location is used to define empty pointers.
Also, some values in the range 0-64k are used as special magik values, so,
some functions of the OS that normally use pointers use special ID in that
range (for example the lpClassName parameter of the CreateWindow function).

"Reddy" <vjayreddy@hotmail.com> wrote in message
news:ueXACw4gEHA.3964@TK2MSFTNGP12.phx.gbl...
> Hi
>
> Does any body know a way to read at memory location 0-64k? why is
> that Microsoft is not allowing to read.
>
> It would be greatly help for my project if we can read at 0-64k.we
> are porting some application from a 3rd party
>
> Real-time Operating system to windows 2000/Xp.The 3rd party
> realtime Operating system will allow reading at 0-64k memory location.
>
> So we are having lot of access volition exceptions when we port
the
> code to windows environment. We are wrapping code betweenw try/catch
>
> To avoid the exception. Is there any better way I can do this
> better. Any help will be greatly appreciable.
>
>
>
> Thanking you.
>
>
> --
> Regards,
> Vijay Reddy.
>
>



Relevant Pages

  • Re: speed up calculation suggestions
    ... case accessing a direct access memory should have the same speed ... Most modern processors have a relatively small amount of cache memory ... in memory owing to the column major order in Fortran (or the row major ...
    (comp.lang.fortran)
  • Re: data security erase of memory and swap?
    ... > My question for Linux is whether applications that pass sensitive data ... > leftover data in memory or swap. ... Your fallacy is that someone can access memory or swap. ...
    (comp.os.linux.development.system)
  • Re: ClamAV execusion died without error messages
    ... appeared in the section for "kernel log messages" in daily email message for ... access memory that it never allocated (i.e., ... Your hardware is buggy and memory bits are flipping by accident ...
    (freebsd-questions)
  • Re: i486 emu in mainline?
    ... > verify_areawhen we need to access memory, ... access (it's not a chunk of kernel memory). ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)