2
가 좋아, 내가 릴리스 빌드를 변경 그러나 때, 디버그 모드를 완벽하게 바로 작동하는 C++/CLI 응용 프로그램이, 프로그램 충돌 심지어 주에 도달하기 전에() 함수를 호출합니다. 내가 사용하고C++/CLI 응용 프로그램 충돌에 시작 (_register_onexit_function)
비주얼 스튜디오 엔터프라이즈 2015
다음은 오류의 스크린 샷입니다 :
extern "C" _onexit_t __cdecl _onexit(_onexit_t const function)
{
_PVFV* const onexit_first = __crt_fast_decode_pointer(module_local_atexit_table._first);
if (onexit_first == reinterpret_cast<_PVFV*>(-1))
{
return _crt_atexit(reinterpret_cast<_PVFV>(function)) == 0
? function
: nullptr;
}
else
{
// here it crashes
return _register_onexit_function(&module_local_atexit_table, function) == 0
? function
: nullptr;
}
}
답변이 OP 질문과 관련이 없으므로 답이 내려졌습니다. [http://stackoverflow.com/help/how-to-answer] (좋은 답변 작성 방법)을 읽은 다음 해당 지침을 충족 할 수있는 답을 편집 할 수 있는지 또는 대답을 삭제 해보십시오. – cb4