SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem on merging files

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
mediatech



Joined: 11 Mar 2005
Posts: 20

PostPosted: Mon Feb 20, 2006 8:09 am    Post subject: Problem on merging files Reply with quote

i tried to merge SIL-files with following code:

...
...
...
procedure MergeFile(sUpdSil: string);
begin
if FileExists(sLAngDir+'\'+sUpdSil) then
begin //Merge files
siLAng1.SILFile:= sLangDir+'\'+sUpdSil;
siLang1.LoadAllFromFile(sLAngDir+'\'+sUpdSil, true);
if (siLAng1.MergeAllFromFile(sUpdDir+'\'+sUpdSil)) then
_MTDeleteFile(sUpdDir+'\'+sUpdSil);
end //Files mergen
else begin //neues File, kopieren
if (_MTCopyFile(sUpdDir+'\'+sUpdSil, sLAngDir+'\'+sUpdSil, false)) then
_MTDeleteFile(sUpdDir+'\'+sUpdSil);
end; //neues File, kopieren
end;
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Mon Feb 20, 2006 8:12 am    Post subject: Reply with quote

And?

May be you can use SIL Editor? It perfectly merges SIL/SIB files and may be freely distributed.
Back to top
View user's profile Send private message
mediatech



Joined: 11 Mar 2005
Posts: 20

PostPosted: Mon Feb 20, 2006 8:17 am    Post subject: sorry Reply with quote

sorry, i hit the "submit" button a lit bit to fast....

i posted the question again
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group