Maybe compile one as a dll with a nice Interface(s) and use it in the other project through a reference?