OpenAPI

RadLight OpenAPI technology is totaly language independant (C++ / VB / Delphi) and requires only basic knowledge of working with dynamic-link-libraries. For now only Subtitle Module 1.0.0 is available.

How does it work ?

Rem. String = array of characters = "normal ordinary sentence or word etc..."
String[128] = String that can ba max. 128 characters long
Integer = ordinal number (10, 34, 14550 etc...)
Double = real number (10.3425235, 34.01, 1450.2 etc...)
Boolean = logical variable can be only TRUE or FALSE

PFormat = ^TFormat ... ^TFormat means POINTER TO TFORMAT -> PFormat points at the place in the memory where a structure of TFormat is placed.

TFormat = record
Description: String[32];
Extensions: String[128];
SubType: Byte;
SupportsWriting: Boolean;
end;

PFormat = ^TFormat;

This is a Format description structure. The DLL will return an array of such a structures that will help your application know what formats are supported.

Description - in this field the verbal description is given e.g. "SubRip SRT"
Extensions - here are the supported extensions written e.g. "*.srt" - this can help with creating an Opening Dialog
SubType - the type of given subtitle format

constant values are

ST_Unknown = 0;
ST_Time = 1;
ST_Frames = 2;
when you receive a ST_Time result this format will work with time values, like seconds 12.435 (real number)
ST_Frames will work with current frame 1, 2, 10 (ordinal number)

SupportsWriting - if is TRUE the DLL can write data in this format (converting)

Conditions :

RadLight OpenAPI technology is free as long as it is not used for commercial purposes. That means if your program is freeware you can use it wherever you want. You only have to display this message : "Based on RadLight MSS Technology - http://www.radlight.com " (ReadMe AND SplashScreen OR About etc...)

For Free Shareware, Shareware and other commercial purposes - contact us

Updated 21-August-2001