Solved

custom components

Posted on 1998-10-02
3
138 Views
Last Modified: 2010-04-06
if i include a custom winsock component (ics wsock) in my project, does delphi put in the .exe or do i have include it in the install program?
0
Comment
Question by:t0m3k
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
BoRiS earned 50 total points
ID: 1341534
t0m3k

Delphi will complie the custom component in the exe file for you, the only thing you might need to include in the install program is if the component uses any ocx's or dll's these you will need to include...

the easy way to check if delphi will complie the unit in the exe is to check the uses clause

 uses
  Windows, forms..., wsock; //or what ever the unit is called

Later
BoRiS
0
 
LVL 10

Expert Comment

by:Jacco
ID: 1341535
That depends on the component.

Normally winsock resides in the 'wsock32.dll', if the component uses only that dll you do not have to distribute anything. (Just as with the standard winsock component).

If the custom component uses other DLL you should distribute them as well.

If you use Delphi3 or 4 there are some other isues of which I am not sure. I believe the bpl's (D4) can be included or excluded from the exe. You should be able to check that in project6/options.

Regards Jacco
0
 
LVL 4

Expert Comment

by:BoRiS
ID: 1341536
t0m3k

Jacco is quite right...The delphi 4 option is also correct, as far as I know.
The wsock32.dll is installed on all machines that use the internet or tcp ip.

also check the readme file that normally comes with the components, it should tell you what you need to include with your app when distributing it (if anything is needed)

Later
BoRiS

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Path  to current project in Delphi. 2 91
Internet Explorer View Settings Question 15 116
SUM 2 INTEGER ARRAYS INTO 1 10 108
How to make Sign in, using Clientdataset? 1 28
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

808 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