From: Matthew Mastracci Newsgroups: comp.os.msdos.djgpp Subject: Re: Getting a size unknown error w/dpmi.h struct Date: Wed, 17 Sep 1997 16:53:33 -0600 Organization: The University of Calgary Lines: 22 Message-ID: <5vpn3o$1a24@ds2.acs.ucalgary.ca> References: <342053F7 DOT 67F3 AT lausd DOT k12 DOT ca DOT us> Reply-To: Matthew Mastracci NNTP-Posting-Host: mmastrac AT acs2 DOT acs DOT ucalgary DOT ca Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: djgpp AT delorie DOT com In-Reply-To: <342053F7.67F3@lausd.k12.ca.us> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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?