After much work on finding a solution, I'm pretty sure the problem was compiling the library in debug mode. I believe it only works in Release mode.
Unfortunately this was a while back and don't have the code currently on my computer so I'm not 100% sure, but I am 90% sure.