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

Runtime packages question

edited November 2001 in General
I am building a Delphi application which will use report builder in the
Reporting Module. The application makes use of Delphi runtime packages and
therefore i have to ship quite a few runtime Report Builder files which i
presume, go into the Windows System directory. (I have tested it with them
in the System directory and all works fine). My question is this :
What will happen if (and probably when) a users machine already has a
program that users a different version of Report Builder ?
As i have installed my program and overwritten all these older bpl files in
the system directory.
Do the old and the new version of the bpl files have different names so this
kind of thing won't happen ?

Thanks
John

Comments

  • edited November 2001
    We don't add build version info in with the packages. You'll have to check
    the date of the files to determine if the build of the bpls is from a
    different build of RB.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited November 2001
    > We don't add build version info in with the packages. You'll have to check

    Ok, Jim, so if i check the existing files and find they are from a previous
    build then what do i do ?
    If i overwrite them with the new ones then my program will work, but the
    other(existing program will not (will it ?)).
    If i leave the existing files then the old program will still work but my
    program will not.
    If i have this correct then have you got any suggestions on how to overcome
    this issue please ?

    Thanks
    John
  • edited November 2001
    Hi John,

    previous
    overcome

    this can only be solved by putting the BPLs into the application directory,
    that's a general Windows-DLL issue.

    regards,
    Chris Ueberall;
  • edited November 2001

    directory,

    Ok, then just to clarify.
    If i put all the bpl files needed for my program into the same folder as my
    program exe file is in then when my program needs to access them, it will
    first look in that directory. If it finds them there it will use them and
    not even bother looking elsewhere ie the Windows\System directory ?
    Is that correct ?
  • edited November 2001
    Hi John,

    my

    Yes, otherwise my answer wouldn't make any sense. But don't believe it - do
    a simple test by yourself.
    You can use any system tool to verify what files are in use or accessed by
    your app. (www.SysInternals.com)

    regards,
    Chris Ueberall;
  • edited November 2001
    Thanks
This discussion has been closed.