File not found, but path is ok...

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

LVL 1
pedeAsked:
Who is Participating?
 
kretzschmarConnect With a Mentor Commented:
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
 
CrazyOneCommented:
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
 
pedeAuthor Commented:
They dont have a D6 version (yet)... Da##, I thought the dcu's where compatible :-(
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
kretzschmarCommented:
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
 
DrDelphiCommented:
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
 
pedeAuthor Commented:
You are right, not very pretty at all :p I can buy the source for $59, I might do that instead.
 
0
 
DrDelphiCommented:
The good thing about having the source is that you'll never have this problem again.<g>


Good luck!!
0
 
DragonSlayerCommented:
or just other fast string libraries, such as FastStrings from www.stuckindoors.com (comes with full source)
0
 
DragonSlayerCommented:
check out Madshi's madStrings unit too (from the madBasic package, if I'm not mistaken?) at www.madshi.net
0
 
pnh73Commented:
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
 
pedeAuthor Commented:
I must have forgotten to accept the answer to this old Q :/ Here it is, sorry for the small delay :p
0
 
pnh73Commented:
Thankyou for your response

Paul (pnh73)
EE Cleanup Volunteer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.