Solved

PAS File Not Found

Posted on 1998-08-26
7
316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
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 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 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