Search found 2 matches

by jcanom
Mon Mar 09, 2015 3:55 pm
Forum: TsiLang Components Suite
Topic: Load .sib strings from console application (c++)
Replies: 3
Views: 10951

You're right, I've tried with both DataModule and Form and it works in both ways: Ex1: TComponent *t = new TComponent(0); TForm *f = new TForm(t); TsiLang *s = new TsiLang(f); s->LoadAllFromBinaryFile("hi.sib"); str = s->GetTextOrDefault("asfa"); Ex2: TDataModule *dm = new TDataM...
by jcanom
Fri Mar 06, 2015 12:30 pm
Forum: TsiLang Components Suite
Topic: Load .sib strings from console application (c++)
Replies: 3
Views: 10951

Load .sib strings from console application (c++)

Hi all, Is possible to load strings from a .sib file in a console application or DLL with no forms? Obviously I can't use TSilang design component, I'm creating component by code from scratch. I've tried following with no luck: siLang = new TsiLang(0); <-- 0: No form reference siLang->Name = "K...