Answer compobj.dll is too old for the ole2.dll initialized  
Author Message
Mohammad Mir mostafa





PostPosted: Visual C# General, Answer compobj.dll is too old for the ole2.dll initialized Top

When I try to call using TAPI 3, i get this error;

---------------------------
TAPI3
---------------------------
Failed to create call!
compobj.dll is too old for the ole2.dll initialized (Exception from HRESULT: 0x8004000E (OLE_E_WRONGCOMPOBJ))
---------------------------
OK
---------------------------

any idea please




Visual C#5  
 
 
keyler





PostPosted: Visual C# General, Answer compobj.dll is too old for the ole2.dll initialized Top

i have meet this problem too.
 
 
keyler





PostPosted: Visual C# General, Answer compobj.dll is too old for the ole2.dll initialized Top

i find the problem,but i don't clear about it.

i see a article named 'Tapi 3.0 Application development using C#.NET By devang_bison' in the http://www.codeproject.com

the link : demo and source

look at this code script:

bcc = ln.CreateCall(textBox1.Text,TapiConstants.LINEADDRESSTYPE_PHONENUMBER | TapiConstants.LINEADDRESSTYPE_IPADDRESS,TapiConstants.TAPIMEDIATYPE_AUDIO);

CreateCall is no problem,but bcc.Connect throw out an expection.I change to

bcc = ln.CreateCall(textBox1.Text,TapiConstants.LINEADDRESSTYPE_PHONENUMBER ,TapiConstants.TAPIMEDIATYPE_AUDIO);

the program can run.I think it's maybe the computer not support the TapiConstants .In my opinion,it's best to use one TapiConstants.

Latestly,I study how to play the music to the recieve when using the computer telephone.I hope get help,thanks!


 
 
ShiroAmada





PostPosted: Visual C# General, Answer compobj.dll is too old for the ole2.dll initialized Top

Thank for this solution, I can run the application.

I have a voice modem , the model is Motorola SM56 Voice Modem. It is a Unimodem Half-Duplex Audio Device.

I have speaker and mic. 100% sure it is work.

Now the problem I face is I can make call, I can hear the dial tone from my speaker. The other party cannot hear what I say, I only can hear people talking. What is the problem

In another case,
I try using "dialer.exe" windows application, by using this application. Other party can hear what I say, but I cannot hear them.

Anyone can help me


 
 
Dino Nguyen





PostPosted: Visual C# General, Answer compobj.dll is too old for the ole2.dll initialized Top

Again, you need a full duplex modem in order to talk and hear from the other party and via versus. Half duplex modem can only hear or talk, not both

 
 
bahar..





PostPosted: Visual C# General, Answer compobj.dll is too old for the ole2.dll initialized Top

i have same problem.i changed the code but i recieved this exception : Uninitialized object (Exception from HRESULT: 0x80040007 (OLE_E_BLANK))

what should i do !


 
 
AlpMis





PostPosted: Visual C# General, Answer compobj.dll is too old for the ole2.dll initialized Top

I hae the same exact problem:

ompobj.dll is too old for the ole2.dll initialized (Exception from HRESULT: 0x8004000E (OLE_E_WRONGCOMPOBJ)).

Anyone have any ideas why this is occurring


Any help is much appreciated.

AlpMis