Article View: borland.public.cppbuilder.nativeapi
Article #13396Re: TAPI 3.*
From: Elias Berelian
Date: Wed, 15 Oct 2003 12:34
Date: Wed, 15 Oct 2003 12:34
41 lines
2011 bytes
2011 bytes
Sergey,
To do TAPI I need modems with voice capability. The only one I got that
works is the one built into my laptop that runs Win98. Any suggestions for
modems or stack of modems that work under Win2000?
I am also interrested in VoIP and I am using APRO 4.6 with BC++B5.
"Sergey Muschin" <sergey.muschin@tonservices.com> wrote in message
news:3f8c13c0$1@newsgroups.borland.com...
> Hi there,
>
> I'm trying to use TAPI 3 in my BCB6 programm but i can't build it, because
> of the error:
> [Linker Error] Unresolved external '_IID_ITTAPI' referenced from
> C:\SRC\BCB6\TAPI\UNIT1.OBJ
>
> What am i doing wrong?
>
> Here is the code
>
> #include <vcl.h>
> #pragma hdrstop
> #include <Tapi3.h>
>
> #pragma argsused
> int main(int argc, char* argv[]) {
>
> HRESULT hr = CoInitializeEx( NULL, COINIT_MULTITHREADED );
>
> ITTAPI *gpTapi;
> hr = CoCreateInstance(CLSID_TAPI, NULL, CLSCTX_INPROC_SERVER, IID_ITTAPI,
> (LPVOID *)&gpTapi );
>
> hr = gpTapi->Initialize();
>
> gpTapi->Shutdown();
> CoUninitialize();
> return 0;
> }
>
>
Technical Details
Message-ID:
<3f8d3ee0@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f8c13c0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,92792b1b51a454d2 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-15 05:41:26 PST From: "Elias Berelian" <elias@snetnsa.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f8c13c0$1@newsgroups.borland.com> Subject: Re: TAPI 3.* Date: Wed, 15 Oct 2003 08:34:07 -0400 Lines: 43 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 204.60.2.39 Message-ID: <3f8d3ee0@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1066221280 204.60.2.39 (15 Oct 2003 05:34:40 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail