Baraha SDK version 10.10

Baraha SDK is useful if you are a software developer and would like to add Indian language support to your application. Baraha SDK enables you to type Indian language text in your .NET/C++/VB6/Java application, allows conversion of text from one language to another, allows conversion of text from one encoding to another. Please go through sample programs in Baraha SDK to understand the usage of various SDK functions.

Click here to download Baraha SDK.

Note: Baraha SDK should be used for adding Indian language support to your applications only. Baraha SDK should not be used for creating applications similar to Baraha Software.

There are couple of options for using Baraha SDK in your application depending on whether your application runs on Workstation or Server.

Workstation:

If your application will be installed on a Workstation (end-User's computer), then you may option 1) or option 2).

option 1) - Buy Baraha full package:

User should purchase Baraha full package and register Baraha software using the product key provided in email. User will have to purchase a separate Baraha full package for every computer on which he wants to run his application. User can click Get Trial Key button in Baraha Registration Screen to get a 30 days product_key and try out this option.

User should call BrhRegister() function of Baraha language DLL files (brh_kanapi.dll, brh_devapi.dll, brh_telapi.dll, ...) passing empty strings as parameters. If BrhRegister() is successful, then SDK functions work without any restrictions.

C++ example:

typedef BOOL (WINAPI* fn)(LPCSTR, LPCSTR);
fn _BrhRegister;
HMODULE m_hKanModule = LoadLibrary(_T("brh_kanapi.dll"));
_BrhRegister = (fn)GetProcAddress(m_hKanModule, "BrhRegister");

(*_BrhRegister)("", "");

VB.NET example:

<DllImport("brh_kanapi.dll", EntryPoint:="BrhRegister", CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.StdCall)> _
Public Function KanRegister(ByVal strLicensee As String, ByVal strLicenseKey As String) As Boolean
End Function

KanRegister("", "")

option 2) - Buy SDK license key:

User should purchase a LicenseKey for the required language. The LicenseKey is generated using the Licensee string that consists of CompanyName and ProjectName provided by the User. This licensing works on per project basis and a separate LicenseKey is required for every new project. The LicenseKey should be used only for the project mentioned in the Licensee string. In this method, User doesn't need to install Baraha software on his computer. User should just bundle required Baraha DLL files along with his application distribution files.

User should call BrhRegister() function of Baraha language DLL files (brh_kanapi.dll, brh_devapi.dll, brh_telapi.dll, ...) passing Licensee and LicenseKey strings as parameters. If BrhRegister() is successful, then SDK functions work without any restrictions.

C++ example:

typedef BOOL (WINAPI* fn)(LPCSTR, LPCSTR);
fn _BrhRegister;
HMODULE m_hKanModule = LoadLibrary(_T("brh_devapi.dll"));
_BrhRegister = (fn)GetProcAddress(m_hKanModule, "BrhRegister");

(*_BrhRegister)("TestCompany - TestProject", "XXX-XXXXX-XXXXX-XXXXX");

VB.NET example:

<DllImport("brh_devapi.dll", EntryPoint:="BrhRegister", CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.StdCall)> _
Public Function DevRegister(ByVal strLicensee As String, ByVal strLicenseKey As String) As Boolean
End Function

DevRegister("TestCompany - TestProject", "XXX-XXXXX-XXXXX-XXXXX")

Server:

If your application will be installed on a Server (web based app), then you should use option 3).

option 3) - Buy Baraha server package:

User should purchase Baraha server package and register Baraha software using the product key provided in email. This product key is similar to option 1) but it also enables Baraha SDK usage on the server. User will have to purchase a separate Baraha server package for every server on which he wants to run his application. User can click Get Trial Key button in Baraha Registration Screen to get a 30 days product_key and try out this option.

User should call BrhRegister() function of Baraha language DLL files (brh_kanapi.dll, brh_devapi.dll, brh_telapi.dll, ...) passing empty strings as parameters. If BrhRegister() is successful, then SDK functions work without any restrictions.

C++ example:

typedef BOOL (WINAPI* fn)(LPCSTR, LPCSTR);
fn _BrhRegister;
HMODULE m_hKanModule = LoadLibrary(_T("brh_kanapi.dll"));
_BrhRegister = (fn)GetProcAddress(m_hKanModule, "BrhRegister");

(*_BrhRegister)("", "");

VB.NET example:

<DllImport("brh_kanapi.dll", EntryPoint:="BrhRegister", CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.StdCall)> _
Public Function KanRegister(ByVal strLicensee As String, ByVal strLicenseKey As String) As Boolean
End Function

KanRegister("", "")

Note: If you use Baraha ANSI fonts (BRH Kannada, BRH Devanagari, BRH Telugu, ...) in your application, your end users will have to install Baraha software to on their computers. But, they don't have to buy Baraha software.