delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/10/03:43:01

From: "AndrewJ" <luminous-is AT home DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <034f2f50 DOT 765f03be AT usw-ex0108-062 DOT remarq DOT com>
Subject: Re: __dpmi_paddr and DJGPP pointers
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <6P8S4.14998$55.285097@news2.rdc1.on.home.com>
Date: Wed, 10 May 2000 08:09:38 GMT
NNTP-Posting-Host: 24.42.120.18
X-Complaints-To: abuse AT home DOT net
X-Trace: news2.rdc1.on.home.com 957946178 24.42.120.18 (Wed, 10 May 2000 01:09:38 PDT)
NNTP-Posting-Date: Wed, 10 May 2000 01:09:38 PDT
Organization: @Home Network Canada
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> An "easy" question but I'm not 100% sure how to tackle it.
>
> How do you convert a __dpmi_paddr structure into a void*
> pointer??
>
> ie.
>
> struct __dpmi_paddr{
>    short selector;
>    int offset32;
> };

...
struct __dpmi_paddr dpaddr;
void *foozle = (void *)  &dpaddr;
...

>PS. could you please reply to ummajera AT cc DOT umanitoba DOT ca?
>Thanks.

Nope.  You post it here, you read the reply here.  That's the way it works.

AndrewJ




- Raw text -


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