delorie.com/archives/browse.cgi | search |
From: | "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu> |
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 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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 <stdio.h> > #include <dos.h> > #include <dpmi.h> > #include <conio.h> > 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |