We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

bpl units order

Marius_cornea
on
Medium Priority
431 Views
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.
Comment
Watch Question

Commented:
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.
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
CERTIFIED EXPERT

Commented:
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.
TheRealLokiSenior Developer
CERTIFIED EXPERT

Commented:
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

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

Thx,
Marius.
Commented:
PAQed with points refunded (125)

GranMod
Community Support Moderator

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.