I migrated my working project from VS2013 to VS2015.
I got an error just at the beginning, before application starts, before main
.
I am able to compile but ... while debugging just before application starts I receive:
Exception thrown at 0x77a20126 in opctcp_v1.exe: 0xC0000005:
Access violation reading location 0x6f865e77.
Debug Assertion Failed!
Program: D:\ (...) \Debug\opctcp_v1.exe
File: minkernel\crts\ucrt\src\appcrt\heap\debug_heap.cpp
Line: 1037
Expression: _CrtIsValidHeapPointer(block)
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
I was looking on google for an answer. I already use VS2015.1
Do you have any idea, how to make it run? Any project option? Or is it just VS2015 bug?
EDIT 1:
This project still works/debug fine under VS2013.
EDIT 2:
I know how to debug. Problem is that [Start debugging] cause this error what means it can not even reach function 'int main(array ^args)' !. Nothing has changed in the whole program.
EDIT 3:
EDIT 4: