Subj : Re: type of void* To : borland.public.cpp.borlandcpp From : "MarvinAvery" Date : Mon Nov 24 2003 09:48 am "Thomas Maeder [TeamB]" wrote in message news:m24qwxmpb4.fsf@madbox2.local... > "MarvinAvery" writes: > > > void MyFunc (void* object); > > class MyClass; > > > > In the function, MyFunc, is there a way of testing if "object" points to an > > instance of MyClass? I tried > > down_cast(object) > > and got a compile time error. I tried typeid but that didn't work either. In > > fact, is there any way of finding out what "object" does point to? > > No. I was afraid of that. Thanks anyway. --------------------------------- Marvin Avery marvin.avery@hrdc-drhc.gc.ca .