bpl units order

Posted on 2006-03-23
Last Modified: 2011-09-20
I have a strange problem:
  I made a bpl with needed units, and I copiled a program with runtime pakages.
  In win Xp everithing is ok but in win98 i had the folowing error:
    "The <exe name> File is liked to missing export  <bpl name>:@<unit name>@initialization$qqrv"
 The unit is allready compiled in that bpl.
 If I put that unit first i received a similar error but about another unit.
 Is any limitation about bpl files ?

Have you any ideea ?
Thx Marius.
Question by:Marius_cornea
    LVL 1

    Expert Comment

    At a glance it sounds like nothing to do with the OS (XP vs. 98); more likely a difference in the Delphi environment, e.g. which components are installed, what libraries are available etc.
    LVL 13

    Expert Comment

    do you have all of the .bpl files in both machines?

    seems you are missing a bunch of files, and the error you are getting is just the first file that detects that is missing
    LVL 7

    Expert Comment

    Probably not the problem, but a little understanding might help.

    The order of the uses clause.  Delphi processes the uses clause from left to right so if you have

    uses unit1,unit2;

    and both units have a function function doSomething:Boolean;
    then the doSomething in the LAST unit will be the one that is compiled into the app.
    LVL 17

    Expert Comment

    sounds like it isn't actually compiling the bpl in.
    I sometimes get this on my setup.
    Check the filesize of your exe, isit smaller thanit should be?
    change the checkbox to not compile bpls in, compile it, check the filesize,
    then change it back, compile, then recheck the file size.

    Author Comment

    Hi all, I don’t know what is happen, but if I make two packages everything is ok/


    Accepted Solution

    PAQed with points refunded (125)

    Community Support Moderator

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
    Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now