I currently wiriting a telephony app using VC++ and the MFC. I've encapsulated a large portion of the TAPI API in a CTapi class which is globally decalred. My problem is that the CALLBACK function causes my system to crash every time it is accessed by the TAPI dll. I can trace the flow of control into the callback function but as soon as it tries
to return the system crashes. It appears totally locked up, even the win95 taskmanager is locked. I think something is interfering with the windows messaging, but I'm not sure.