Re-hello Sieghard. OK, I found the reason of the crash in createnewlang() (was about language array). Indeed it loads faster MO files than PO files.
I will commit your change asap. Many thanks for your hard work. Fre;D ________________________________ De : Fred van Stappen <fi...@hotmail.com> Envoyé : vendredi 4 mars 2022 16:12 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net> Objet : Re: [MSEide-MSEgui-talk] UTF things? Hallo Sieghard. I jumped into your MO code. Wow congrats, po4stock is very impressive and works very well, many thanks. I have a crash when trying to select a other language in menu-Settings-Language. It seems that the po4stock "createnewlang()" method works only once, if calling it a other time, it crash. Maybe you have a idea why (I have to find time this week-end to debug). Fre;D ________________________________ De : Sieghard via mseide-msegui-talk <mseide-msegui-talk@lists.sourceforge.net> Envoyé : dimanche 27 février 2022 19:03 À : mseide-msegui-talk@lists.sourceforge.net <mseide-msegui-talk@lists.sourceforge.net> Cc : Sieghard <s_c_...@arcor.de> Objet : Re: [MSEide-MSEgui-talk] UTF things? Hallo Fred van Stappen, there's another amendment to the msegui library files, this time concerning a couple warnings the compiler issues about 2nd level comments - it doesn'r like them, but doesn't get distracted either. I did NOT make any modifications against the many more warnings about implicit string format conversions as this required a thorough examination of the code. Also, I uploaded another file containing a modification for your ideU, making it capable to read .mo files for localization, using a new unit I called "po4stock" (which cares for the "stock" items), which actss in conjunction with a very much stripped down "po2array.pas" unit to provide the apllication dependencies. On my (IMHO not so slow, AMD A10-9700 "APU" @ 3.3GHz clock & W/ 4GB memory) the .po based ideU shows a noticable delay of about 1/4 to 1/2 second when changing anguages, the .mo based version does it nearly instantly, especialy after the first time, where it takes perhaps a bit less than 100ms. This isn't an important point for your ideU, I understand, but it might be of interest for other applications. Anyway, the new files are on my web site, available as usual. They're named "msegui-lib_dynpo.zip" (as before) and "ideU_mo.zip" (ideU). Best wishes for a new week! -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) ----------------------------------------------------------- Mit freundlichen Grüßen, S. Schicktanz ----------------------------------------------------------- _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
_______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk