Solved

D3 Component Installation Problem

Posted on 1997-05-11
3
251 Views
Last Modified: 2010-04-06
When attempting to add a new component to D3, the Install Component forces me to use a file with a *.dpk extension which apparantly is the package source file. When the dialog box pops up, I point it to the *.pas file for the component and select the compile and then install button. It looks like it compiles, but nothing shows up on my component palette. If I try to install the design package, it forces me to select a *.dpl file and there is none with the name associated with the *.dpk file. Thus, I can't get any of my or 3rd party components to install so I can use them. Very frustrating!
0
Comment
Question by:mjb051197
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
sperling earned 50 total points
ID: 1336129
I don't follow you entirely, but here's how I successfully have installed a lot of components in D3.

Component / Install Component
 
Select tab page "Into new package"

Browse for pas file(s)

Enter any filename (without extensions) in "Package file name"
I've used just "Private" for my own components.

Add a package description if you wish.

Click OK
Click Yes on dialog "Package will be built then installed"

If your .PAS files contains the proper "Register" procedure, the components should be installed.


Regards,

Erik.
0
 

Author Comment

by:mjb051197
ID: 1336130
Well, it worked. I used a name of Personal (it wouldn't take Private as it said it was a reserved word) and I was able to add my components. I still don't understand why I wasn't able to use the default dbk file that Borland supplied, but right now I am just happy to be able to use my components! Thanks Sperling!
0
 
LVL 3

Expert Comment

by:sperling
ID: 1336131
I'm not yest sure of how this package concept works exactly, so I can't tell you why.

BTW. I do in fact use private, but in norwegian (=Privat)... Should have thought of that one ;)

Regards,

Erik.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

839 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