Solved

PAS File Not Found

Posted on 1998-08-26
7
312 Views
Last Modified: 2010-04-04
I am installing a component that has the main registration of the components in a pas file. It has the rest in dcu files, but when I try to compile it, I get a pas file not found for the dcu filenames. Is there an option or something that I have to set so that it will use the dcu file and not look for the pas ones?
0
Comment
Question by:billy1
7 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1337838
are the components for the correct version of Delphi?
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1337839
Are the components(.dcu & .pas) files in the directorey they are supose to be???It depends on what package are you installing the component in...See in what package and then put the files for the comps in the directory that contains the other files for the package..

Regards,
Viktor Ivanov
0
 
LVL 1

Expert Comment

by:skatan187
ID: 1337840
I always have the error message when I try to install a delphi2 dcu in delphi3
when I try to install a delphi3 dcu in delphi4, delphi4 opens the dcu as a pas file

I guess you will need to update the dcu to delphi3 ... ?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 10

Expert Comment

by:viktornet
ID: 1337841
I don't mean to be sarcastic, but If you guess and you are not sure why do you propose this as an answer???

As Zif already mentioned we are not sure what version it is . o O

Regards,
Viktor Ivanov
0
 

Author Comment

by:billy1
ID: 1337842
I am using Delphi 3 and the vcl says it is for 3... I have the files in the right location but like I said... they are dcu's and not pas files.

0
 
LVL 20

Expert Comment

by:Madshi
ID: 1337843
DCU files are no problem (when the version is o.k.). You problem seems to be that Delphi just cannot find them.
Perhaps you should try to add the DCU folder to the library/search path.

Regards, Madshi.
0
 

Accepted Solution

by:
aiming earned 30 total points
ID: 1337844
if you use correctly Version DCU (Must!!!), You need not .PAS File.
Main registration file is a pas file,  is just as well!
step by:
======
1. please check "Install Component"/"Package file name", and got the name.
2. select "install Package" Menu. and select the name at list. now, select "Edit" button.
3. select "option" button. check "build control" = "Build as need".
If is value already, then:
find menu and edit "Tool/Environment/Library/Library Path",  the path max length is 128(or 168??)!! but the edit can input under 256 chars. so....
==================
now. OK?
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
Sending Gmail through Delphi 3 109
Delphi selector screen 2 80
How to debug For loops? 3 49
How to Get Images From Server using App Tethering 11 29
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

803 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