How do I report error messages to the IDE from a custom build tool?
问题 I am using a custom build tool in Delphi XE3. This executes as expected, but when my custom build tool fails for some reason, it will return a non-zero exit code and Delphi will just report that the build has failed. The build tool will write to stdout and stderr in case of any errors, but those do not show up in the Messages window: the Build tab just shows Failed (after brcc32 is run) in the Output tab I can see that the target BuildVersionResource is run, then the target PreBuildEvent is