Message-ID: <3356BA7C.972@post.comstar.ru> Date: Thu, 17 Apr 1997 17:04:12 -0700 From: Dim Zegebart Reply-To: zager AT post DOT comstar DOT ru Organization: zager AT post DOT comstar DOT ru MIME-Version: 1.0 To: DJGPP Mail List Subject: Some dpmi questions ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Hi, Just a couple of questions ;) What is diference between _go32_dpmi_lock_data and _dpmi_lock_linear_region ? Next one : Assume, *mem [...] mem=malloc(n*sizeof(typeof(mem))) _go32_dpmi_lock_data(mem,n*sizeof(typeof(mem))) ???? How can I use _dpmi_lock_linear_region here [...] tmp=remalloc(mem,new_n*sizeof(typeof(mem))) mem=tmp _go32_dpmi_lock_data(mem,n*sizeof(typeof(mem))) ???? What happen here? Do I have to 'unlock' first mem ? And the last one: What is the field 'handle' in _dpmi_meminfostructure Thank you ;) -- Regards, Dim Zegebart, Moscow Russia. Ghostly basement : http://www.geocities.com/siliconvalley/pines/7817