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 8:45PM
    PS Delphi 7
  • edited 8:45PM
    ;) no help?
  • edited 8:45PM
    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 8:45PM
    Already tried that but still the application will crash. ;)

  • edited 8:45PM
    I tried with three languages and all work fine.
  • edited 8:45PM
    mhhhh ;)

    With the same demo from fastreport and the add language option from delphi and the reninit unit?
  • edited 8:45PM
    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 8:45PM
    Hello

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

    Thanks

    lmir

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.