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: 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" wrote: >"Mike Pilat" wrote in >news:wTmS7.3829$tg4 DOT 48021 AT vixen DOT cso DOT uiuc DOT edu: > >> "A. Sinan Unur" wrote >>> "Emile Bosch" 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.