delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/17/18:57:27

Newsgroups: comp.os.msdos.djgpp
Date: Wed, 17 Sep 1997 16:53:33 -0600 (MDT)
From: Matthew Mastracci <mmastrac AT acs DOT ucalgary DOT ca>
Reply-To: Matthew Mastracci <mmastrac AT acs DOT ucalgary DOT ca>
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: <Pine.A41.3.96.970917165245.115080C-100000@acs2.acs.ucalgary.ca>
References: <342053F7 DOT 67F3 AT lausd DOT k12 DOT ca DOT us>
Mime-Version: 1.0

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?


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019