Solved

TAPI and the MFC

Posted on 1997-04-16
2
417 Views
Last Modified: 2013-11-20
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.
0
Comment
Question by:Aurora041697
2 Comments
 

Author Comment

by:Aurora041697
ID: 1301040
Edited text of question
0
 
LVL 11

Accepted Solution

by:
mikeblas earned 100 total points
ID: 1301041
Either your callback function has the wrong function prototype and/or calling convention, or you're trashing the stack before you return.  (I'm giving you the benefit of the doubt that you're not doing something in your callback that you shouldn't be and making TAPI or the rest of the system unstable.)

.B ekiM
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question