Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

32/64 bit issue!

edited July 2012 in General
Running XE2 on a 64bit machine but compiling 32 bit programs. Delphi apps
work fine, reportbuilder "works" fine but whenever a report is run, when
app closes down it gets the "Windows has encountered problem ...."
message. If reports not run then app closes fine.

Apps run fine under 64bit whether reports run or not!

Any suggestions as to where I could look for a solution please?

Many thanks

John B



--- posted by geoForum on http://www.newswhat.com

Comments

  • edited July 2012
    Hi John,

    This is not a known issue.

    Which exact version of ReportBuilder are you using? If you create a
    simple, minimal application that uses a report, are you able to recreate
    this error? If so, please send the example to
    support@digital-metaphors.com in .zip format and we'll test it on our 64
    bit machines.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2012
    Hi John,

    Are you by chance have any non-RB db controls connected to the same
    datasets as ReportBuilder? If so, this can sometimes cause issues with
    the new threading architecture of the multi-page preview. To resolve
    the problem, you can either keep separate datasets for RB or make a call
    to TDataset.DisableControls before printing the report. Something like
    the following.

    DataSet.DisableControls;
    try
    Report.Print;
    finally
    Dataset.EnableControls
    end;

    If this is not the case, my suggestion would be to begin simplifying
    your application to try to isolate the problem. Start by removing all
    event code associated with the report(s). Then the data access. Once
    you get to a point that the report runs properly without error, begin
    adding features back to isolate the issue.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2012
    ?Hi Nico

    I'm using the latest version of RB Std edition.

    I have done what you asked and it works fine, so there is something within
    the particular application itself that is peculier to when reporting is
    run that is causing this. Any suggestions as to where I might look?

    Many thanks

    Regards

    John



    --- posted by geoForum on http://www.newswhat.com
This discussion has been closed.