From: Andrew Crabtree Message-Id: <199703101417.AA263213463@typhoon.rose.hp.com> Subject: Re: RMCB Help To: billc AT blackmagic DOT tait DOT co DOT nz Date: Mon, 10 Mar 1997 6:17:42 PST Cc: djgpp AT delorie DOT com In-Reply-To: <33239AC5.7564@blackmagic.tait.co.nz>; from "Bill Currie" at Mar 10, 97 5:23 pm > > You don't seem to have locked the memory touched by your callback. The > reason you are crashing under dos is cwsdpmi detects unlocked memory > when inside a hardware interrupt and spits the dummy (otherwise dos > itself could barf). > > Check the faq (where you got djgpp) for details on locking memory. > > Bill > -- > Leave others their otherness. > I thought the #include int _crt0_startup_flags = _CRT0_FLAG_LOCK_MEMORY did lock memory. Are you saying I need to explicitly call lock for the functions and variables? Or is it the real mode memory I alloced that its complaining about? Thanks, Andrew