Page 1 of 1

ReportBuilder 10.03 & BDS2006

Posted: Thu 23 Nov 2006 08:02
Hello together,

I try to get the demo for ReportBuilder run.

I have a windows XP-Prof, Borland Delphi (BDS2006), ReportBuilder 10.03 Enterprise and a MyDac 4.30.1.15.

First of all I have changed the the rbMyDac part

requires
dac100,
vclx,
rbRCL1010,
rbIDE1010,
rbDB1010,
rbDAD1010,
dacvcl100,
mydac100;

After that I tried to install the component and get the following error message (german version):
Package ...\Bpl\rbMyDAC.bpl kann nicht deinstalliert werden.
Translated in english something like:
package ...\Bpl\rbMyDAC.bpl can not be deinstalled

Has anybody an idea to solve that.

Before I forget. If I start the EndUser Form, I get the message TdaMyDacQueryDataView component not found...

Thanks for helping
Uwe

Posted: Thu 23 Nov 2006 13:39
by bravecobra
Maybe this can point you in the right direction: http://www.crlab.com/forums/viewtopic.php?t=3400

Wrong version

Posted: Thu 23 Nov 2006 13:56
Thanks a lot for the typ.
bravecobra wrote:Maybe this can point you in the right direction: http://www.crlab.com/forums/viewtopic.php?t=3400
This topic has brougth me to the solution to change the requires.
This sample is for ReportBuilder 10 and Delphi 7...

Greetings Uwe

Posted: Thu 23 Nov 2006 14:16
by bravecobra
"De-installed"? Try removing the package from bds first, then open the package and recompile.

Posted: Thu 23 Nov 2006 14:28
by bravecobra
The following works for me (which at first glance looks exactly like yours):

Code: Select all

package rbMyDAC;

{$R *.res}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO ON}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION ON}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES OFF}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DESCRIPTION 'ReportBuilder Pro Data Access for MyDAC'}
{$IMPLICITBUILD OFF}

requires
  dac100,
  vclx,
  rbRCL1010,
  rbIDE1010,
  rbDB1010, 
  rbDAD1010,
  dacvcl100,
  mydac100;

contains
  daMyDAC in 'daMyDAC.pas';

end.

Compiled and installed successfull

Posted: Fri 24 Nov 2006 10:13
8) Now it's installed.
I start the project "rbMyDac", go to the daMyDac.bpl inside the projects and look to the options.
Inside pakages, I remove this pakage.
After that install the pakage.

This was working... :D

But after that, I want to open EndUser.dpr :(
(...\demos\win32\reportbuilder\enduser.dpr)

Now I get the message:

Image

??? Now, I begin to get furious...

Inside the rbMyDAC is the class defined and will be registerd with
RegisterNoIcon([TdaMyDACQueryDataView]);

Do anyone have this kind of problems ?

Thanks for help
Uwe