Solved

PAS File Not Found

Posted on 1998-08-26
7
308 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
Comment Utility
are the components for the correct version of Delphi?
0
 
LVL 10

Expert Comment

by:viktornet
Comment Utility
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
Comment Utility
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 10

Expert Comment

by:viktornet
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 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

11 Experts available now in Live!

Get 1:1 Help Now