frxRes

Hi,
(C++ Builder 6, FR 3.20)
I look for some tips to use TfrxResources to change my preview language from standard german to english on the fly.

I tried some like this without success:

#include "frxRes.hpp"
#pragma link "frxRes"
TfrxResources *pfrxres;
pfrxres = new TfrxResources();
pfrxres->LoadFromFile("frxEnglish.frc");

frxReport1->ShowReport();

But I think, this can not work.
Does anybody have an idea?

with regards
Joerg ;)

Comments

  • edited 7:42PM
    Hello,
    You don't need to create resource object FR do it, only need use it :

    #include <frxRes.hpp>
    .
    .
    .
    frxResources()->LoadFromFile("..\\frxEnglish.frc"); // path must complete



  • edited 7:42PM
    THX very much!
    it works fine!
    ;) ;)

Leave a Comment