Dialogic logo

Using the Diva Component API

  Introduction  
     2 pages
  About the Component API  
     4 pages
  Preparing to use the API  
     2 pages
  Component API objects  
     2 pages
  Making and receiving calls  
     3 pages
  Voice, tones, fax & data  
     7 pages
  Accessing the adapters  
     2 pages
  Handling multiple calls  
     9 pages
  Using non-blocking mode  
     18 pages
  Samples  
 
  << Back     Next page >>  
Configure Visual Studio

The Diva SDK that contains the API is a free download from Dialogic's website.

Two files - dsSDK.DLL and divaSDK.DLL - from the BIN directory in the SDK are required by the Diva Component API. These two DLLs should be copied to the Windows\SYSTEM32 directory. Additionally, DivaSDK.DLL needs to be 'registered' before it can be used.

Diva API Configuration program
The program ' Config.exe ' is provided in the BIN directory to help you to install the DLLs, register the DivaSDK.DLL and check the installed versions of the DLLs.

Manual registration of DivaSDK.dll
If you choose not to use the config.exe program to register the DLL, use the following command in the system32 directory after copying the DivaSDK.dll:

c:\WINNT\system32>regsvr32 DIVASDK.dll

Using Visual Basic or C# with the Diva Component API

  • Select the DivaSDK Type Library as a 'reference' in your Visual Basic or C# project. This is accomplished from the Project > References menu where you need to select DivaSDK 1.0 Type Library in the 'COM' tab.
  • Add the statement "Imports DIVASDKlib" (or "using DIVASDKLib" in C#) to your code so that you don't have to add 'DIVASDKLib' to the beginning of all Diva Component API references in your program.

Copyright© 2016 Dialogic® Corporation. All rights reserved. Legal Notice
30-000.htm 100 10000