[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

TAPI and the MFC

Posted on 1997-04-16
2
Medium Priority
?
423 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

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…
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…
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.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

656 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