delorie.com/archives/browse.cgi | search |
Date: | Mon, 6 Mar 95 15:45:47 PST |
From: | baca AT crl DOT ucsd DOT edu (Kevin Baca) |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | allocating dos mem |
I call _go32_dpmi_allocate_dos_memory to allocate a buffer for some interrupt calls. It works fine when compiled in a C program. Not so fine in a C++ program. In the _go32_dpmi_seginfo structure: rm_segment is the same under C and C++. Under C, rm_offset is 0 and this works. Under C++, rm_offset is not zero and this doesn't work. If I force rm_offset to be 0 it works. What's going in in C++ to cause this? -Kevin baca AT crl DOT ucsd DOT edu
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |