Hi, I'm trying to use the TWPLanguageControl, but when the component create an access violation occurs. I am instantiating the same with the following code in FormCreate:
ZitatWPLangInterface: = TWPLocalizationInterface.Create (wplctrlEdioma);
wplctrlEdioma.GlobalLanguage: = 'BR';
WPLocalizeLoadForms: = True;
WPTools_LoadVCLStrings;
WPTools_LoadActionStrings;
I tried using the FormLoaded TWPLanguageControl but the same problem occurs:
ZitatWPLangInterface: = TWPLocalizationInterface.Create (wplctrlEdioma);
WPLocalizeAllStrings;
In WpTools5 not have this problem happened when I tried to upgrade to WpTools6.
Sincerely.
Luiz Satto.