From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Getting a size unknown error w/dpmi.h struct Date: Wed, 17 Sep 1997 22:10:10 -0500 Organization: Cornell University Lines: 24 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <34209B92.5CEE@cornell.edu> References: <342053F7 DOT 67F3 AT lausd DOT k12 DOT ca DOT us> Reply-To: sinan DOT unur AT cornell DOT edu NNTP-Posting-Host: 128 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk csantill AT lausd DOT k12 DOT ca DOT us wrote: > > from: csantill AT lausd DOT k12 DOT ca DOT us > > 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: > > --------------------------------------------------------------- > #include > #include > #include > #include > did you try including go32.h? also, i am not sure about this, but comment lines like: //**** etc may give you problems with C source. -- Sinan