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.dpkin the IDE - double-clicked
IdMessage.pasin the Package window - edited
IdMessage.pasand 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.dpkin 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?