Following the question, I am trying to modify the source code of Indy10 (IdHTTPProxyServer.pas). But failed to recompile the indy10 project... My IDE is XE2, and following are the steps I did..
Remove package "Indy 10 Core Design Time" and "Indy 10 Protocols Design Time" in Menu->Component->Install Packages
Open IndyProtocols.dpk
Make changes in IdHTTPProxyServer.pas
Compile
And then sometimes it shows error "Access violation in rtl160.bpl", sometimes it shows error "Exception xxx(any component) in coreide160.bpl at XXXXXX"
As I am not really familiar with the develop environment, I totally do not understand what is wrong ... Any help will be appreciated.
Thanks
Thanks for all replies. All your suggestions make me realize the develop environment more. Finally I accept the answer of @Marcus Adams as there are more than one developers in the project. It is better not to change the source files of the IDE.
Normally, when I change source code, I save the modified source file to my project folder. That way, just that unit gets recompiled.
If you changed a particular .pas file, just save it to your project folder and recompile. Leave the original Delphi (and Indy) source files untouched.
This also makes it easier to update in the future, since your changes don't get lost after an update, and your changes don't affect other projects.