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.