Solved

PAS File Not Found

Posted on 1998-08-26
7
309 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need Delphi function to get Youtube video title 5 223
loading dll from external path 1 210
PDF library for Delphi 2 104
Send message from delphi to whatsapp, is it possible? 3 1,149
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

914 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now