Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

bpl units order

Posted on 2006-03-23
7
Medium Priority
?
420 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.
0
Comment
Question by:Marius_cornea
6 Comments
 
LVL 1

Expert Comment

by:quilley
ID: 16279278
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.
0
 
LVL 13

Expert Comment

by:BlackTigerX
ID: 16282239
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
0
 
LVL 7

Expert Comment

by:kfoster11
ID: 16282909
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.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 17

Expert Comment

by:TheRealLoki
ID: 16413648
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.
0
 

Author Comment

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

Thx,
Marius.
0
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16944130
PAQed with points refunded (125)

GranMod
Community Support Moderator
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month21 days, 5 hours left to enroll

810 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