Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #7663
| From | Ruben Safir <mrbrklyn@panix.com> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: pointer to pointer intialize to NULL but still point to NULL |
| Date | 2011-07-09 00:35 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <iv87oq$s51$1@reader1.panix.com> (permalink) |
| References | <8f3b364d-798b-4a27-ba68-3e2beb3a51ef@gh5g2000vbb.googlegroups.com> |
Christopher <cpisz@austin.rr.com> wrote:
> void Foo(IUnknown ** ppMicrosoftsOut)
> {
> // If the operation fails param is NULL
>
> // Otherwise param is a valid pointer to object
> }
>
>
> I can't change the function prototype, because there is already a lot
> of code that depends on it. How do I initialize the parameter properly
> in the function body, such that all of the following calls from the
> client yield the expected results?
>
My expereince is that C++ despises null...
Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread
pointer to pointer intialize to NULL but still point to NULL Christopher <cpisz@austin.rr.com> - 2011-07-07 15:03 -0700
Re: pointer to pointer intialize to NULL but still point to NULL Paavo Helde <myfirstname@osa.pri.ee> - 2011-07-08 00:39 -0500
Re: pointer to pointer intialize to NULL but still point to NULL Stuart Redmann <DerTopper@web.de> - 2011-07-08 00:02 -0700
Re: pointer to pointer intialize to NULL but still point to NULL Juha Nieminen <nospam@thanks.invalid> - 2011-07-08 07:08 +0000
Re: pointer to pointer intialize to NULL but still point to NULL Stuart Redmann <DerTopper@web.de> - 2011-07-08 00:53 -0700
Re: pointer to pointer intialize to NULL but still point to NULL Ruben Safir <mrbrklyn@panix.com> - 2011-07-09 00:35 +0000
csiph-web