Thanks GetMem,
i know that, but what i want to achieve is that the active project will be rebuild when the user
runs or compiles the project. So some kind of marking the project as dirty/modified.
Background: For my One-Click-Profiler IDE addon i add a new menu item to the run menu.
When clicked i backup the original sources and generate instrumented ones.
I call BuildProject and RunProjectWithoutDebugging.
When run finished i restore the original sources.
What now happens is that the ide does not recognized that the sources have changed.
When the user now clicks run, the current exe with the profiling code gets started. And that's
not what i want.
So i need a way to convince the ide to rebuild the whole project on next run or compile.