
Edward Diener wrote:
C++ Builder, as I am sure you know, actually uses reflection at run-time to create the correct values for properties and events handlers, without altering the source one sees for the user of the component. I actually feel this is cleaner. However both .NET and C++ Builder use run-time reflection of components and do not need component source in order to set up the correct values.
Do you need the source? Aren't the header files enough which you will have for a C++ project? All this would do is generate a temporary cpp files which creates a global object which contains the reflection information which you can then traverse at runtime. I don't see how this is so different from what C++ Builder and .Net do. You don't require component source, only header file. It doesn't insert source code in to your cpp files, but creates temporary C++ files which get linked in to your project each time you build. Maybe I'm missing something here but I don't see the difference here. Cheers Russell