InitDialogs example for C++ Builder
void __fastcall TForm1::FormCreate(TObject *Sender)
{
L_INT nRet;
nRet= LEADDlgService1->InitDialogs ( DLG_INIT_COLOR );
if ( nRet == SUCCESS )
{
LEADImage1->Load ( "e:\\image1.cmp", 0, 1, 1 );
}
}