I was having troubles with the TestApp and .NET wrapper on Windows 7 64 bit: some exceptions were thrown when invoking any method of the wrapper.
It was enough to compile everything for x86 instead of Any CPU.
I hope this saves someone else some minutes.