I am trying to test the dll which I wrote with GoogleTest and when I call one of the tests It throws me this error:
I had a similar problem and it turned out that my unittest project was set to a different code generation runtime library - so by setting it to the same as the DLL project, then no heap exception