Loading SIB file into Dispatcher does not work
Posted: Fri Jun 13, 2003 11:06 pm
Hello.
I am trying to load an SIB file into the Language Dispatcher at run time:
siLangDispatcher1.FileName := 'Maintenance.sib';
siLangDispatcher1.LoadAllFromFile('Maintenance.sib');
siLangDispatcher1.ActiveLanguage := 1;
The file, when viewed in the editor, has 2 languages defined (English and Chinese). However, after loading, Dispatcher still holds only one language.
Exporting the very same file in SIL format and using the SIL file instead (exactly the same code) works just fine.
Any ideas what the problem is?
Thanks!
Best wishes,
-Boris
I am trying to load an SIB file into the Language Dispatcher at run time:
siLangDispatcher1.FileName := 'Maintenance.sib';
siLangDispatcher1.LoadAllFromFile('Maintenance.sib');
siLangDispatcher1.ActiveLanguage := 1;
The file, when viewed in the editor, has 2 languages defined (English and Chinese). However, after loading, Dispatcher still holds only one language.
Exporting the very same file in SIL format and using the SIL file instead (exactly the same code) works just fine.
Any ideas what the problem is?
Thanks!
Best wishes,
-Boris