Problem loading FastReport

Hi, i am tryign to load FastReport component on a test project and i got an error on loading hpp file.

Unable to open include file "frxClass.hpp"

here is my Unit1.Cpp
wrote:
//

#include <vcl.h>
#pragma hdrstop

#include "Unit1.h"
//
#pragma package(smart_init)
#pragma link "frxClass"
#pragma resource "*.dfm"
TForm1 *Form1;
//
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//

here is my Unit1.hpp
wrote:
//

#ifndef Unit1H
#define Unit1H
//
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include "frxClass.hpp"
//
class TForm1 : public TForm
{
__published: // Composants g?©r?©s par l'EDI
TfrxReport *frxReport1;
private: // D?©clarations utilisateur
public: // D?©clarations utilisateur
__fastcall TForm1(TComponent* Owner);
};
//
extern PACKAGE TForm1 *Form1;
//
#endif

in my designer window i just drag a frxReport Component


In packages loaded i got :
FastReport5.0 ADO Components
FastReport5.0 Components
FastReport5.0 DB Components
FastReport5.0 DBX Components
FastReport5.0 Exports
FastScript1.9 ADO Components
FastScript1.9 Components
FastScript1.9 DB Components
FastScript1.9 Tee Components


Any idea ?

Thanks

Comments

  • gpigpi
    edited 10:30AM
    Add path to FR's LibDXX folder to Library and Browsing path in the IDE
  • edited 10:30AM
    gpi wrote: »
    Add path to FR's LibDXX folder to Library and Browsing path in the IDE


    Hi,
    Set in both but still not working.

  • gpigpi
    edited 10:30AM
    Does frxClass.hpp exists in the FR's LibDXX folder?
  • edited 10:30AM
    gpi wrote: »
    Does frxClass.hpp exists in the FR's LibDXX folder?


    No, any idea why hpp files aren't generated?
  • PolomintPolomint Australia
    edited 10:30AM
    Have you looked at the Project Options? (Or the .optset file?)

Leave a Comment