Search found 13 matches

by RMeneghini
Tue Aug 24, 2021 3:33 pm
Forum: TsiLang Components Suite
Topic: Crash after porting to RAD C++ 10.4
Replies: 4
Views: 2237

Re: Crash after porting to RAD C++ 10.4

Hello Igor, I tried recreating the project (BPL) but it did not solve the problem. However, changing the name of the form that contains the TMS AdvStringGrid, solved the problem. Unfortunately, the translations are lost. Sounds like the information inside the DFM is not been updated. Best regards, R...
by RMeneghini
Mon Aug 23, 2021 7:41 pm
Forum: TsiLang Components Suite
Topic: Crash after porting to RAD C++ 10.4
Replies: 4
Views: 2237

Re: Crash after porting to RAD C++ 10.4

Hello Igor, Thank you for the prompt response. Unfortunately, I was not able to find references to _XE103r in any module. All the BPLs include both TsiLang_XE104.bpi and TsiLang_XE104r.bpi I also performed a search via File Explorer to see if any file has references to _XE103. I'm still seeing the E...
by RMeneghini
Thu Aug 19, 2021 6:46 pm
Forum: TsiLang Components Suite
Topic: Crash after porting to RAD C++ 10.4
Replies: 4
Views: 2237

Crash after porting to RAD C++ 10.4

Hello, I'm porting a large project from RAD C++ 10.3 to 10.4. The project compiles without problems as 32 bit. However, the application crashes when it tries to create a form that contains TMS AdvStringGrid and siLangLinked. If a new form is created with just the TMS AdvStringGrid, then it works fin...
by RMeneghini
Fri Feb 05, 2021 5:12 pm
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 3111

Re: Resource Files (RC) in C++

Hello, Just to let you know that, after removing the runtime packages as suggested by you, LoadStr is working as expected. Thank you for the advice. The only problem that I have left is how to deal with classes that do not have visual components. I have tried adding a Data Module with siLangLinked b...
by RMeneghini
Wed Feb 03, 2021 1:50 pm
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 3111

Re: Resource Files (RC) in C++

Thank you very much. I will try it as soon as possible.
by RMeneghini
Tue Feb 02, 2021 7:51 pm
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 3111

Re: Resource Files (RC) in C++

Thank you for taking the time to help me.

Attached please find the requested example.

The LoadStr2() always returns the original (English) string. The GetTextOrDefault works as expected. However, if the RC file is removed from the project, the LoadStr2 returns an empty string.

Sincerely,

Roberto
by RMeneghini
Tue Feb 02, 2021 3:07 pm
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 3111

Re: Resource Files (RC) in C++

Hello, Unfortunately, I'm still not able to make the LoadStr2() solution work. Always returns an empty string. I have made sure that "HandleResorceStrings" is set to "True". I'm able to use GetTextOrDefault(Tag) by creating my own tag (i.e. IDS_RES_%d). The problem with this solution is that it only...
by RMeneghini
Wed Jan 27, 2021 8:35 pm
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 3111

Re: Resource Files (RC) in C++

Hello, I was able to follow your instructions and import resource strings (RC). However, I'm still not able to make it work. I have checked the "HandleResourceString" option. I have tried using LoadStr(100) and LoadStr(HInstance, 100). 100 is the string ID in the original RC file. I noticed that the...
by RMeneghini
Mon Jan 11, 2021 3:51 pm
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 3111

Re: Resource Files (RC) in C++

Hello Igor, Thank you very much for your advice. Using TsiLang Resource Strings Import Wizard worked perfectly. I still have some confusion on how to put everything together. It seems that I need to create a SIB project for each BPL and one of the main program EXE. Is there a way to combine/merge al...
by RMeneghini
Thu Jan 07, 2021 7:38 pm
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 3111

Resource Files (RC) in C++

Hello,

Most of my projects (BPL and EXE) store strings in resource files (RC). When I use the TsiLang Expert, I cannot find the strings.
What is the correct procedure to import strings stored in an RC file?

Best regards,

Roberto
by RMeneghini
Wed Jan 06, 2021 4:08 pm
Forum: TsiLang Components Suite
Topic: Best practice for multi package projects
Replies: 5
Views: 1839

Re: Best practice for multi package projects

Hello Igor, Once again, thank you for the clear response. One of the main reasons I'm evaluating the SiComponents is to be able to outsource the translation to a third party that does not have the Embarcadero IDE. Should I export all translations to the external file or send the DFMs? Kind regards, ...
by RMeneghini
Mon Jan 04, 2021 10:48 pm
Forum: TsiLang Components Suite
Topic: Best practice for multi package projects
Replies: 5
Views: 1839

Re: Best practice for multi package projects

Hello Igor, Thank you for the prompt response. I think I'm able to follow the logic. I just have some more doubts: 1- Do the languages need to be configured in every package at designing time? I could not find a way to connect siLangLinked in each BPL to the siLangDispatcher in the main program in t...
by RMeneghini
Wed Dec 23, 2020 9:44 pm
Forum: TsiLang Components Suite
Topic: Best practice for multi package projects
Replies: 5
Views: 1839

Best practice for multi package projects

Hello, I have an application (C++) that is composed of multiple packages (BPL). Is there a recommended way to use the TsiLang components for this scenario? Should each package have its own data module (TsiLang, TsiLangLinked & TsiLandDispatcher)? Or, is there a way to just use the TsiLangLinked in t...