On Thursday 10 April 2003 08:57, Marc Singer wrote: > int func_b (void** ppv) > { > *ppv = (void*) 2; > return 0; > } > > > char* test (void) > { > char* pa = NULL; > func_b (&(void*)pa);
creates a pointer-to-void, copies the value of pa into it and then takes the address of that new object ... Try '& reinterpret_cast<void*&>(pa)' instead. uli