473,320 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

TAPI32.Dll and C#.

Hi Every Body,
I am using a TAPI application. By using tapi32.dll of the windowsXP, I am calling a telephone by using the following function,

[DllImport("tapi32", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)]
public static extern int tapiRequestMakeCall(string lpszDestAddress, string lpszAppName, string lpszCalledParty, string lpszComment);

Here the function can successfully calling the phone dialer and i am able to make a call. But I am unable to drop the call programatically.
If you have any ideas please send me.
The code may be VB or VB.Net or C# will be useful for me.
Please help me.
Oct 19 '07 #1
3 6373
Plater
7,872 Expert 4TB
The dll appears to contain a function called tapiRequestDrop(), that might be of use?
I don't know where good documentation is, but I found this:

(It's for wine, but should be similar?)
http://source.winehq.org/WineAPI/tapi32.html
Oct 19 '07 #2
The dll appears to contain a function called tapiRequestDrop(), that might be of use?
I don't know where good documentation is, but I found this:

(It's for wine, but should be similar?)
http://source.winehq.org/WineAPI/tapi32.html

Hi,
Than 'Q' for ur info. Now i made an application using Tapi3 dll and C#. in this the flash us the front End. When i try to nake a call, it is happening and when i try to disconnect the call it is happening in the sample application but in the flash application. Here is the code snippet for that.
TapiClass tobj=new TapiClass();

tobj.ShutDown();

-- This line is shutdowning the tapi object in the sample application and not in the flash user interface.
Any idea what is happening inside. I tried a lot but didn't found any wrong with the application.
Any ideas would be greatly appreciated.
Nov 20 '07 #3
Plater
7,872 Expert 4TB
Are you using a static instance of that tapiclass?
Other then that only one thing can access the modem at a time (I think) I'm not sure what's going on.
Nov 20 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Chris Morgan | last post by:
I'm trying to get php to run on my webserver as a Java Servlet, it works the first time but fails the second time and crashes the JVM with the following error: I have tried the latest versions...
3
by: Graham Parsons | last post by:
We are experiencing the following on two PCs running WebLogic server .... even though every other PC in the organisation has no such problems running the same software. Anyone who could shed any...
2
by: Joel | last post by:
Hello, ASP does not work locally on my main web site when I browse the machine locally at the console itself, but to the outside world all is fine, and ASP executes normally. I have 4 other...
0
by: Droopy | last post by:
Hi, I am working for a few month on a C# project (mixed dll for calling C++ legacy code with a C# wrapper). Since this morning, I can't start my application anymore ! I got a...
6
by: deko | last post by:
Is it possible to get ControlTipText on subforms? frm2 is the main form frm2TxPending is a subform Datasheet Private Sub Form_Current()...
17
by: deko | last post by:
The below code dials a phone number when the subform datasheet cell containing the number is double clicked. The problem is that the dialer application (c:\windows\dialer.exe) pops up windows on...
4
by: deko | last post by:
I use the default windows phone dialer to make calls from an Access form. I close the phone dialer after the call is made using the below function. The problem is I'm not closing the Phone Dialer...
6
by: Michael Turner | last post by:
Hi guys I am having the following problem upgrading a vb6 application, I have click the link as it suggested and I have search the net only to become even more confussed! HELP!!! Error: - ...
2
by: =?Utf-8?B?QXNzaWRv?= | last post by:
Hello @all i need help with the following problem: Im calling an unmanaged C++ DLL (TAPI32.dll) function (lineGetCallInfo) like this: Declare Function lineGetCallInfo Lib "tapi32.dll"...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.