Solved

File not found, but path is ok...

Posted on 2002-04-15
12
211 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 50 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi component that can load a DLL in design time? 8 63
LAN or WAN ? 11 90
Multiple image collision 13 74
Slow Restore if incremental backups using RDiff.exe 4 19
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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

770 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