Subj : Re: Callbacks in C++ or any other way To : borland.public.cpp.borlandcpp From : mike Date : Tue Jun 08 2004 08:52 pm i don't know what you are trying to do, but this is what i usually do. create a base class with a static callback function. making it static will give it a C signiture but still keep it in the class namespace. the problem with callbacks is that windows wants a C signiture and not a C++ one. the c++ has a "hidden" this pointer and thus doesn't work properly. regardless, you can then have a single static function and derive all your classess off the base to use that one static function instead of making new classes with each class having it's own static callback. aloha, mike "MichaelK" wrote in message news:40c67df6$1@newsgroups.borland.com... > > Does anyone know how to do win32 callbacks in c++ > > The problem is it wont work with having a member function as a callback function (the calling convention seems to be messed up) .