Solved

custom components

Posted on 1998-10-02
3
140 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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
Working with hours 3 72
how to update exe applicatio from internet ? 6 91
Drag & Drop... Data from one grid to another 2 47
Microsoft Access 97 and Delphi XE2 9 71
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…
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…
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…

679 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