Tapi app and late binding

jfackler

Junior Contributor
Joined
Mar 15, 2003
Messages
393
Location
Cincinnati, Ohio
I'm in search of a resource for writing a tapi application in VB.NET.
So far I've been unable to find anything close. I've read every page available on the net and read multiple text resources at my local computer book store.

The msdn has code written in vb5 with lots of interface calls.
The code falls apart under .net because of the late binding.

example:
Visual Basic:
 Dim objCall As ITBasicCallControl
        objCall = objAddress.CreateCall(PhoneNumber, nAddressType, lMediaType)

        '**********************************************************************************
        '***********************************************************************
        'following is part of Select a Terminal
        '*********************************************************************
        ''query for ITBasicCallControl, the call control interface
      
        Dim objDialedCallInfo As ITCallInfo
        objDialedCallInfo = objCall

        ''query ITTerminalSupport from Address object
        Dim objTerminalSupport As ITTerminalSupport
        objTerminalSupport = objAddress

Frankly, I have no idea how to go about rewriting the code for .NET without late binding. Any hints or some tutorials would be greatly appreciated. I think, after all I've read, if I can get a glimpse, the light will come pouring through and I'll be able to convert the remainder.


Thanks,

Jon
 
Back
Top