Solved

TAPI and the MFC

Posted on 1997-04-16
2
410 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 47
Strange date stored 22 100
Process filename extension 3 156
mapBully challenge 6 89
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now