Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8956957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:52:52+00:00 2026-06-15T14:52:52+00:00

I have a copy of Delphi 6 and a simple email program that uses

  • 0

I have a copy of Delphi 6 and a simple email program that uses the Indy TIdMessage component. I want to remove lines 464-465 of IdMessage.pas then recompile the application. I’m having a hard time finding clear documentation, so I tried these steps to modify the component:

  • opened \delphi6\source\indy\indy.dpk in the IDE
  • double-clicked IdMessage.pas in the Package window
  • edited IdMessage.pas and saved the file
  • clicked “Compile” in the Package window
  • clicked “Build Indy” in the Project menu
  • clicked “Install” in the Package window

But then I get an error that \bpl\indy60.bpl can't be loaded because \bin\indy60.bpl is already loaded. So I tried “Install packages…” in the Components menu, but only found \bpl\dclindy60.bpl there. So I removed that package, and:

  • opened \delphi6\source\indy\dclindy.dpk in the IDE
  • clicked “Compile” in the Package window
  • clicked “Build dclIndy” in the Project menu
  • clicked “Install” in the Package window

The IDE confirmed all the components (including TIdMessage) were installed, but the email program is still acting as though the original unmodified component is still being used.

What am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T14:52:53+00:00Added an answer on June 15, 2026 at 2:52 pm

    if you were using runtime packages then you’d need to ensure that your program found the new package file, the .bpl.

    But you probably are not using runtime packages. So the runtime program statically links the Indy code using .dcu files located in the Delphi installation folders. Specifically in this case to <ProgramFiles>\Borland\Delphi6\Lib\IdMessage.dcu. You need to make sure you link the new code. The easiest way is to add the modified file to your project. That will mean that the modified version gets compiled and linked into your program.

    Since your modifications are in the implementation section of the unit this is all you need to do. If the modifications were in the interface section you’ll encounter “Unit X was compiled with a different version of Unit Y” errors. You’d solve that by adding the rest of the Indy source to your project.

    One point to stress is that you should never modify the files under the Delphi installation folder. If you want to build modifications to those components, take copies of the files and make modifications in those copies.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a TPanel on a delphi form, I want to copy all the
Does anyone happen to have a copy of the Virtual TreeView that is Delphi5
I have a Silverlight 2.0 site that works in dev. I have Copy Local
I want to be able to click the button and have it copy this:
My computer crashed recently. We have a Delphi app that takes a lot of
I have a query in Delphi using DBExpress TSQLQuery that looks like so ActiveSQL.sql.add('SELECT
Just want to confirm with the COM/DCOM experts out there... I have a Delphi
I have this problem for days now. I have a delphi app that i
im working on delphi 7 and i want to how to copy/assign the content
I have Windows Server 2008 R2 Machine that is running a Delphi 2007 application.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.