Peter Cullen - 2012-05-10

The code runs successfully if I change the unit test to an executable program. NUnit and MS Test create their own app domains which causes the unmanaged side to encounter mulitple app domains, which results in the error.