Newsgroups: comp.os.msdos.djgpp From: Peter Berdeklis Subject: Re: assembler and C structs - how do I interface them? Message-ID: Nntp-Posting-Host: chinook.physics.utoronto.ca Sender: news AT info DOT physics DOT utoronto DOT ca (System Administrator) Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: University of Toronto - Dept. of Physics In-Reply-To: Date: Thu, 16 Jan 1997 18:10:41 GMT References: Lines: 13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On 14 Jan 1997, RHS Linux User wrote: > just #include and use _dos_ds, it's a define for __go32_info_block+26 No it's not. It's a define for _go32_info_block.selector_for_linear_memory, which compiles into __go32_info_block+26. Including it in an asm file wont produce the desired results. --------------- Peter Berdeklis Dept. of Physics, Univ. of Toronto