[comp.windows.ms.programmer] Putting callbacks in a DLL

ronb@burklabs (Ron Burk ) (05/09/91)

I'm writing a window timer class that multiplexes a single Windows timer
to give my application as many timers as it wants.  It would be really
nice if this class could live in a DLL, since then it could service
multiple instances of my application (instead of each instance using up
one of the 16 Windows timers).

The problem is, I don't see any way to make a DLL function a callback
function for a Windows timer.  MakeProcInstance wants an instance
handle and whatever instance I pick might have terminated before the
next timer event is due.  Anybody else have any ideas?