Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!grapevine!rtangri1!rajesh From: rajesh@rtangri1.EBay.Sun.COM (Rajesh Tangri) Newsgroups: comp.windows.ms Subject: Read real memory from Windows Application Message-ID: <426@grapevine.EBay.Sun.COM> Date: 11 Oct 90 17:48:27 GMT References: <90280.143318CC65MGTW@MIAMIU.BITNET> Sender: news@grapevine.EBay.Sun.COM Reply-To: rajesh@rtangri1.UUCP (Rajesh Tangri) Organization: Sun Microsystems Federal, Inc., Milpitas, CA, USA Lines: 14 I have a question regarding Windows 3.0 SDK. I need to read physical memory from Windows application running in 386 protected mode. So, the question simply is: "How to load data segment and offset into CPU registers in a Windows Application running in 386 protected mode ???? A friend suggested using "fp_segments" Microsoft C 6.0 routine; but this is for 386 real mode only. Also, on page: 16.11 of SDK Guide to Programming, Windows describes how to use Global Selector Constants for doing memory mapped I/O. I wrote some _asm inline assembly to read from memory; but "__D000H " remains an undefined label. Which Windows include file defines this global selector constant ??? Please reply directly to me. I will post a summary to the net.