Solved

TAPI and the MFC

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
repeatSeparator  java  challenge 13 58
windows 10 how make picture as desktop background 2 65
How to determine file rename from EventLog ? 2 54
fizzArray2 challenge 1 90
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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

856 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