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
NorthXAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Phoenix_sConnect With a Mentor Commented:
Perhaps,  if you grabbed the project directly into d5 from d1, it's using the project's search path and it is looking for the d1 version of db.pas?

check your project|options

HTH

cheers
0
 
JaymolCommented:
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.
0
 
NorthXAuthor Commented:
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!
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
chrismoCommented:
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?
0
 
intheCommented:
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..
0
 
chrismoCommented:
If that was so, the compiler would report a different error, not that it couldn't find db.dbu.
0
 
NorthXAuthor Commented:
The actual solution turned out to be a reboot, but I thought this was a good stab.
0
All Courses

From novice to tech pro — start learning today.