Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

File not found, but path is ok...

Posted on 2002-04-15
12
Medium Priority
?
218 Views
Last Modified: 2011-09-20
I get a 'File not found e:\Delphi6\lib\hyperstr.pas' when I try to compile my program.

I placed Hyperstr.dcu (I dont have the .pas) in \lib, and included lib in both library path and browsing path. What's the deal with the .pas? I've done this in Delphi5 and it works. Should work in Delphi6 too, shouldnt it? Why does it insist on having the .pas file?

Thanks in advance

0
Comment
Question by:pede
  • 3
  • 2
  • 2
  • +3
12 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 200 total points
ID: 6941945
the dcu must be from the same delphi version,
whereas the pas could be version-independend

if your dcu does not match your delphi version,
then delphi tries to recompile it, with usage of the associated pas-file

meikl ;-)
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6942008
Yep. See if the author of the component has an upgraded version for D6. If not then unfortunately you are out of luck without the *.pas file. Bummer. :>(


The Crazy One
0
 
LVL 1

Author Comment

by:pede
ID: 6942192
They dont have a D6 version (yet)... Da##, I thought the dcu's where compatible :-(
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 27

Expert Comment

by:kretzschmar
ID: 6942227
sorry to say,
but the dcu's are
not version compatible,
also not minor compatible
a d3-dcu will not work with d3.02
0
 
LVL 6

Expert Comment

by:DrDelphi
ID: 6942349
What you COULD do is to take that dcu's functionality and compile it (in the version of Delphi that it is designed for) into a DLL which you could then call from the Delphi 6 application. Not the prettiest solution, but it works.

Good luck!!
0
 
LVL 1

Author Comment

by:pede
ID: 6942362
You are right, not very pretty at all :p I can buy the source for $59, I might do that instead.
 
0
 
LVL 6

Expert Comment

by:DrDelphi
ID: 6942383
The good thing about having the source is that you'll never have this problem again.<g>


Good luck!!
0
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 6943651
or just other fast string libraries, such as FastStrings from www.stuckindoors.com (comes with full source)
0
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 6943653
check out Madshi's madStrings unit too (from the madBasic package, if I'm not mistaken?) at www.madshi.net
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9003248
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from kretzschmar

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0
 
LVL 1

Author Comment

by:pede
ID: 9003289
I must have forgotten to accept the answer to this old Q :/ Here it is, sorry for the small delay :p
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9004773
Thankyou for your response

Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Integration Management Part 2
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

886 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