[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

TAPI and the MFC

Posted on 1997-04-16
2
Medium Priority
?
431 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 300 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

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

834 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