Debug Assertion Failed! Expression: __acrt_first_block == header

前端 未结 5 1383
星月不相逢
星月不相逢 2020-11-30 01:01

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:

5条回答
  •  迷失自我
    2020-11-30 01:30

    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

提交回复
热议问题