Solved

Problem witih Delphi 7

Posted on 2010-11-09
11
509 Views
Last Modified: 2012-05-10
Hi guys,

  I got an unexpected problem witih Delphi 7. When I try to compile a package I get the message Required Package 'vcl' not found. Where is the configuration that sets this up?

  Thanks,
  Marco Castro
0
Comment
Question by:MarcoCastro
  • 3
  • 3
  • 3
  • +2
11 Comments
 

Author Comment

by:MarcoCastro
ID: 34098704
I use Windows 7 64 bits and it was working very well.
0
 
LVL 2

Accepted Solution

by:
kambiz earned 250 total points
ID: 34098972
Here is the option for setting the library search path:
Tools > Environment Options > Library > Library Path

vcl.dcp is located in Lib directory of Delphi. Therefore, $(DELPHI)\Lib should be in the list of library paths.
0
 
LVL 14

Expert Comment

by:systan
ID: 34098996
What version of Delphi 7 your using?
If its 7.3+?,  then, it does not work for windows 7, even during installation.
0
 
LVL 24

Expert Comment

by:jimyX
ID: 34099422
Has this package been successfully compiled and installed before ? It could be missing parts/files/lib in order to compile correctly. Also did it work on Win xp (if you tried) ?
0
 
LVL 14

Expert Comment

by:systan
ID: 34100407
Hello jimyx;
Have you found my new post?  I hope you can solved it.
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 24

Expert Comment

by:jimyX
ID: 34101391
Hi Systan,
 I am analyzing your code, will get back to you soon.
0
 
LVL 14

Expert Comment

by:systan
ID: 34101592
Hello

Sorry, you dont have to do that, I deleted the post, because I though it is impossible and no ones bothering to listen, anyway I'll open it again, soon after my other approach.

Thanks

See you here in e-e, I'm glad your also doing delphi stuffs until now.
Me?, just beginning to explore delphi well, with the help of delphi experts here.
0
 

Author Comment

by:MarcoCastro
ID: 34135645
Hi guys,

  Thanks for the hints but none of them works. Delphi was working very well in Windows 7, $(DELPHI)\Lib is there, the files that Delphi says that can't be loaded are there. There is somethig loadt in a secret place.

  Marco Castro
0
 
LVL 24

Expert Comment

by:jimyX
ID: 34135938
is that package compatible with Delphi 7 ? Have you tested that before on Delphi 7, may be it is not.
0
 
LVL 32

Assisted Solution

by:ewangoya
ewangoya earned 250 total points
ID: 34181730

1.
Go to Tools->Environment Options
Select the Library tab,
In Library Path, check if you have the entry $(Delphi)\LIB
In Browsing Pach check for the entry $(Delphi)\source\vcl

2.
Try compiling
If you still have the error, Open the package and check your requires lis

Require
   vcl.dcp
   rtl.dcp,
   ....
Remove vcl.dcp, save and try to compile, if the system offers to add the file, accept

3. If you r still getting errors, check if you have a corresponding runtime package that needs to be compiled first. If thats the case, compile the runtime package first then load the current package and attempt to compile
0
 

Author Closing Comment

by:MarcoCastro
ID: 34204432
The problem was related to Windows path, not Delphy path.
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
indy tidtcpclient threading issue 8 63
proper way to parse text with delphi 7 100
Show Listview image from database (String field) 5 112
Create a path if not exists 7 69
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

912 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

22 Experts available now in Live!

Get 1:1 Help Now