c++ - How to identify what is causing a simple application to crash in Windows? (application compiles successfully in Visual Studio + full error in post) -
i using third-party api , have compiled below code:
#include <iostream> #include <windows.h> #include "thirdpartylibrary.h" #pragma comment(lib, "thirdpartylibrary.lib") int main() { std::cout << "hello world!" << std::endl; const char* version = thirdpartylibrary::getversion(); std::cout << version << std::endl; std::cin.get(); }
however when run executable, windows "hello world!" displayed , following notification pops up:
the details section specifies:
problem signature: problem event name: appcrash application name: project1.exe application version: 0.0.0.0 application timestamp: 59b75de4 fault module name: project1.exe fault module version: 0.0.0.0 fault module timestamp: 59b75de4 exception code: c0000005 exception offset: 00000000000165fd os version: 6.3.9600.2.0.0.272.7 locale id: 1033 additional information 1: 67fc additional information 2: 67fc46792ce081021880cc23e0b31aa5 additional information 3: 6b65 additional information 4: 6b656a5b6790a11fed1e18ef18753a38 read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=280262 if online privacy statement not available, please read our privacy statement offline: c:\windows\system32\en-us\erofflps.txt
how identify causing behaviour?
the reason problem because extension mfc application needed loaded main application.
Comments
Post a Comment