Link to home
Start Free TrialLog in
Avatar of NorthX
NorthX

asked on

db.pas being requested

I am attempting to upgrade a client's D1 app to D5 and have encountered the following problem.  When I attempt to compile each of several projects, the compiler tells me it can't find the db.pas file and specifies the last search path in the library path list as the location -- obviously having searched through all paths.  I don't have the vcl source directory in there...I'm not seeing why it needs that.

It's got the db.dcu file in the path, but it's not showing me the tooltip filename location in the uses clause.

Am I missing something completely simple?

Thanks in advance for any advice,

Gary
Avatar of Jaymol
Jaymol

Do you want a copy of the DB.Pas file to see if it helps?  If so, give us your email address and I'll send it.

John.
Avatar of NorthX

ASKER

I've got the .pas file in the vcl source directory...but when I throw the VCL into the library path search list, I start having to trace through that and every linked .pas file that get's called.

Shouldn't the program be able to compile with just the .dcu files?

Thanks!
All you need is the .dcu(s). All you should have to do is make sure that the .dcu is in a dir that's included in the library path -- which you've said you've done.

Have you searched your hard drive for other copies of .dcu, in case that's somehow throwing a wrench in the works? Doesn't make sense ... could you paste your library path into a reply so we could check it out?
maybe it need the pas file because some of the functions and declarations will be different in d5 as to d1 so it need the pas to re-read the functions / declarations..
If that was so, the compiler would report a different error, not that it couldn't find db.dbu.
ASKER CERTIFIED SOLUTION
Avatar of Phoenix_s
Phoenix_s

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NorthX

ASKER

The actual solution turned out to be a reboot, but I thought this was a good stab.