X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "A. Sinan Unur" Newsgroups: comp.lang.c++,comp.os.msdos.djgpp Subject: Re: ** Pointer thingie's <= what's up with the double *? Date: 14 Dec 2001 15:07:20 GMT Organization: Cornell University Lines: 23 Sender: asu1 AT cornell DOT invalid (on 128.253.251.163) Message-ID: References: NNTP-Posting-Host: 128.253.251.163 X-Trace: news01.cit.cornell.edu 1008342440 18698 128.253.251.163 (14 Dec 2001 15:07:20 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 14 Dec 2001 15:07:20 GMT User-Agent: Xnews/4.06.22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "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 HTH. Sinan. -- -------------------------------- A. Sinan Unur http://www.unur.com/