Hello
I'm using c++ builder 6 and the latest version of siLang. I traslate string tables coded into rc files. Everything works fine unil my project is without dll with ciLang. Then always read resource language. What is wrong?
string tables
The problem is only when siLang component is BOTH: in application and outside dll. Then, when I retrive resource
string from Application I always receive the original value not translation. When I use application without
dll everything works. I have got tranlate resource strings from application. I use the function as follows:
extern Package AnsiString __fastcall LoadStr2(int Ident)
{
ResStringRec ResRec;
ResRec.module = (long*)&HInstance;
ResRec.ident = Ident;
return (LoadResString(&ResRec));
string from Application I always receive the original value not translation. When I use application without
dll everything works. I have got tranlate resource strings from application. I use the function as follows:
extern Package AnsiString __fastcall LoadStr2(int Ident)
{
ResStringRec ResRec;
ResRec.module = (long*)&HInstance;
ResRec.ident = Ident;
return (LoadResString(&ResRec));