www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/07/18:15:09

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: dawks AT tesco DOT net (dawks)
Newsgroups: comp.lang.c++,comp.os.msdos.djgpp
Subject: Re: ** Pointer thingie's <= what's up with the double *?
Date: Mon, 07 Jan 2002 23:14:41 GMT
Organization: Tesco ISP
Lines: 25
Message-ID: <3c3a2b86.4047159@news.tesco.net>
References: <vTkS7.469287$Jy2 DOT 33400140 AT news DOT quicknet DOT nl> <Xns9177526CC2A82ASINANUNUR AT 132 DOT 236 DOT 56 DOT 8> <wTmS7.3829$tg4 DOT 48021 AT vixen DOT cso DOT uiuc DOT edu> <Xns917766F857AB6ASINANUNUR AT 132 DOT 236 DOT 56 DOT 8>
NNTP-Posting-Host: 212.140.68.60
X-Newsreader: Forte Free Agent 1.21/32.243
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On 14 Dec 2001 15:07:20 GMT, "A. Sinan Unur" <asu1 AT cornell DOT edu> wrote:

>"Mike Pilat" <pilat AT uiuc DOT edu> wrote in
>news:wTmS7.3829$tg4 DOT 48021 AT vixen DOT cso DOT uiuc DOT edu: 
>
>> "A. Sinan Unur" <asu1 AT cornell DOT edu> wrote 
>>> "Emile Bosch" <emilebosch AT hotmail DOT com> wrote  
>>> > void** ptr; //? Double **?
>>>
>>> i don't think that is valid.
>>> AFAIK, you can't have pointers to void pointers. 
>> 
>> You can indeed have void**... for example, the COM IUnknown method
>> QueryInterface(..) takes a void** as a parameter into which your
>> interface pointer goes.
>
>See http://www.eskimo.com/~scs/C-faq/q4.9.html
>

Except that that is a C++ FAQ. IUnknown is a binary interface.


dawks.
--
The world is divided into two sorts of people: those that believe that the world is divided into two sorts of people and those that don't.

- Raw text -


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