[comp.lang.c] EMS memory

malcolm@alice.marlow.reuters.co.uk (Malcolm Melville) (02/25/88)

Not quite sure where to put this one so I'll start here.

The long awaited EMS LIM4.0 spec appears. All I want to do is 
from an application running within an EMSed (=messed) environment
(MS-Windows) lock down a function so that it doesn't get swapped out.
The reasoning behind this is that the function is a callback and if it
gets called when it swapped out then it crashes the system. Unfortunately
the function is called from a TSR so I can't modify it to use
the 'long far pascal' calling sequence normally required to achieve
the desired results. 

The application works real well with Windows 1 and Windows 2 without
EMS so I think if I can get it locked down it will probably work with
EMS.

Thanks

Flames to Microsoft

Malcolm


-- 
The views expressed are my own rather than my employers. 

Malcolm Melville