Run time - replace units with same name

Giganews Newsgroups
Subject: Run time - replace units with same name
Posted by:  Ken Pfeiffer (ke…@sonultra.com)
Date: Mon, 12 Nov 2007

I have a project that uses a unit named "ReportU", and often I
replace that unit with another very different version with
the same name, and recompile.  This is becoming a big
hassle, and it would be nice if I could compile both versions
into the project and be able to select them at run time. Of
course the problem is that the names of the units are the same,
and there are numerous references to the unit name in the project.

Is there a way to get both of the versions into the same project
and select at runtime, rather than recompile each time?  That is,
without changing all the names?

I'd appreciate any suggestions.  Thanks!

Replies