Equivalent of Peek and Poke functions of c++ in VC++

Hi All

I am accesing the memory address to fetch and post some values, Its been done in a C program, it works fine in Win 95 M/C, but not in Win200 m/C, so i thought of compiling the program in VC++, but i could not find a equivalent functions for PEEK and POKE.

Help me in this regard, as its urgent

Thanks & Regards
Jakuva
[356 byte] By [jakuva] at [2007-11-18 19:28:07]
# 1 Re: Equivalent of Peek and Poke functions of c++ in VC++
What is "m/C"? What do you mean by "not working in Windows 2000"? Compiling? Running? What memory are you trying to access?

Using peek and poke sounds like you're taking low-level bios/interrupt/direct memory access code meant for DOS systems (Win95 is really DOS 7.0) and trying to apply it to Windows 2000. If that's the case, you're wasting your time -- it won't work for Windows 2000. Windows 2000 is a protected mode OS, and those DOS tricks won't work in a protected mode OS.

So you need to be more specific as to what you're really trying to do.

Regards,

Paul McKenzie
Paul McKenzie at 2007-11-11 1:17:02 >