From: RHS Linux User Newsgroups: comp.os.msdos.djgpp Subject: Re: assembler and C structs - how do I interface them? Date: 14 Jan 1997 17:48:52 -0600 Organization: Texas Networking, Inc. Lines: 17 Sender: tarquin AT localhost Message-ID: References: NNTP-Posting-Host: dnet06-41.austin.texas.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Matthew Kennedy writes: just #include and use _dos_ds, it's a define for __go32_info_block+26 > I suspect that the assembler can't interpret fields of structures. In > this case I'll have to use __go32_info_block+26 as the memory reference - > which works. But thats harder to read as a program and the relative > address (+26) might change in future versions. ANY IDEAS? > > Also, no mention of how to do this in the as-info node (I've read it top > to bottom) -- John Allensworth --- tarquin AT texas DOT net --- ReaperMan on the QuakeServers Author of XtraWeapons (except the homing missile, eject, and throwing axe) Industrial Strength Gaming http://www.uk.digiserve.com/whiteoak/punktc/ Skrew Actura! Dem bastards stole my Bouncing Bettys! (incl. in XW19)