3.18 multilanguage support problem

I have changed the printarray demo project1.dpr file by adding the following lines

uses
...
windows,
reninit
...

LoadNewResourceModule((SUBLANG_ENGLISH_UK shl 10) or LANG_ENGLISH);
ReinitializeForms;


and also added the english language via the languages menu.


Doing so will crash the demo, can someone explain why, and give a hint to a solution.

I have a main application with the same problem and I need it solved before 13:00 (12-okt-05)

I also tried adding
frxResources.LoadFromFile(ExtractFilePath(Application.ExeName) +'english.frc');
but that does not solve it

;)

Comments

  • edited 6:35AM
    PS Delphi 7
  • edited 6:35AM
    ;) no help?
  • edited 6:35AM
    Try so:
    In catalogue Res\English start mk.bat. To do the multi-language resource, it is necessary to start mkall.bat - is got file English.frc, which it is necessary to load so: uses frxRes; frxResources.LoadFromFile('English.frc');
  • edited 6:35AM
    Already tried that but still the application will crash. ;)

  • edited 6:35AM
    I tried with three languages and all work fine.
  • edited 6:35AM
    mhhhh ;)

    With the same demo from fastreport and the add language option from delphi and the reninit unit?
  • edited 6:35AM
    Where you to send example?
  • edited November 2005
    Problem solved ;) . I need to add the frx dfm files to the language dll.

    With thanks to the help of dennis
  • edited 6:35AM
    Hello

    Hedaal, can you explain what you did ? I have the some problem too.

    Thanks

    lmir

Leave a Comment