Newsgroups: comp.os.msdos.djgpp Date: Wed, 17 Sep 1997 16:53:33 -0600 (MDT) From: Matthew Mastracci Reply-To: Matthew Mastracci To: csantill AT lausd DOT k12 DOT ca DOT us Cc: djgpp AT delorie DOT com Subject: Re: Getting a size unknown error w/dpmi.h struct In-Reply-To: <342053F7.67F3@lausd.k12.ca.us> Message-Id: References: <342053F7 DOT 67F3 AT lausd DOT k12 DOT ca DOT us> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 17 Sep 1997 csantill AT lausd DOT k12 DOT ca DOT us wrote: > I want to be able to detect the available memory in my programs > using _go32_dpmi_get_free_memory_information but the I try init > a struct to hold the information received from the func but > I get a 'size unknown' error at compilation. Here's my source: I noticed you used: struct _go32_dpmi_meminfo m; Try: _dpmi_mem_info m; /\/\att /\/\astracci mmastrac AT acs DOT ucalgary DOT ca GCS/GE d- s+:+ a--- C++++ UA P+ L E-- W+ N++ o K+ w+ O M- V PS++ PE++ Y+ PGP t+++ 5+++ X++ R++ tv+ b+++ DI++++ I G++ e h r* z?