[comp.windows.ms.programmer] Fixed Physical memory in Windows 3.0

rc20@prism.gatech.EDU (CAREY,RICHARD A.) (02/23/91)

I don't know if anyone can help me but I am hoping that you will know someone who can.

Problem:  I am developing an application that runs on Windows 3.0 to do color
machine vision inspection.  I have some dedicated image processing hardware that
uses extended memory for its image processing functions.  I have the ability to
set the starting location and amount of memory that the boards use in extended
memory.  My problem is that windows assumes that is has exclusive use of memory
and will swap code/data in/out of that memory space.

Question: Is there any way to Allocate a block of memory (1 Megabyte) at a fixed
physical address so that windows will not use it.  The windows SDK mentions the
GlobalPageLock and LockSegment commands but is not clear on how these commands
relate to each other and what effect the really have.   I am running my program
on a 25MHz 386 with 9 MBytes of ram.

Any help that you can provide will be greatly appreciated.

Richard Carey
Ga. Tech Research Inst.
PHONE:(404) 894-3412
EMAIL:rc20@hydra.gatech.edu


-- 
CAREY,RICHARD A.
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!rc20
Internet: rc20@prism.gatech.edu