MyDac and FastReports Versions

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Paratechnic
Posts: 2
Joined: Sun 31 Mar 2013 16:56

MyDac and FastReports Versions

Post by Paratechnic » Sun 31 Mar 2013 17:10

Real misery here which I suspect is from trying to use FastReports - MyDac components with the constrained Embarcadero version of FastReports. Has anyone had success using it with Fastreports Basic or Standard. Would like to know before forking over money to them.

Any suggestions would be appreciated.

Using Rad Studio XE3 Professional (Update 2), mydac76d17pro and an embedded instance.

Cheers,

Paratechnic
Posts: 2
Joined: Sun 31 Mar 2013 16:56

Re: MyDac and FastReports Versions

Post by Paratechnic » Mon 01 Apr 2013 12:45

Update: have demo working ( was using embedded server so couldn't go with samples) and found no issue from a Delphi project. However when using frxMYDACCComponents in a C++ project, the linker is looking for

frxMyDAC17.lib
frxDAC17.lib

however I'm only finding the bpl equivalents. Did I miss an option in compiling the Fast Reports - MyDac Components?

DemetrionQ
Devart Team
Posts: 271
Joined: Wed 23 Jan 2013 11:21

Re: MyDac and FastReports Versions

Post by DemetrionQ » Thu 04 Apr 2013 10:26

Hello.

To install TfrxMYDACCComponents to RAD Studio XE3 (both C++ Builder and Delphi), perform the following steps.
1) Run Delphi XE3 .
2) for each package: frxDAC17.dpk, frxMyDAC17.dpk, dclfrxMyDAC17.dpk, do the following:
- open package ;
- modify the setting [Project]->[Options...]->[Delphi Compiler]->[Output - C/C++]->[C/C++ Output file generation] by selecting the "Generate all C++Builder files (including packages libs)" option
- rebuild package.
3) Install the dclfrxMyDAC17.dpk package.
4) To work in Delphi, in the IDE settings add the path to the TfrxMYDACComponents component sources (they are located in MyDAC_Demos\ThirdParty\FastReport\FR4)

After these actions, RAD Studio XE3 will create necessary bpl,dcp,lib,hpp files and locate them in appropriate directories (usually, these directories are located in $(BDSCOMMONDIR)). Make sure paths to lib and hpp files are added to "Library Path" and "Include path" in [Tools]->[Options...]->[Enveironment Options]->[C++ Options]->[Paths and Directories] .

Post Reply