1

作成したアプリケーションを起動しようとしているときに問題が発生しました。

このアプリケーションは、Windows 8.1 RTM および Visual Studio 2012 で C++ および SFML (2.1) を使用して開発されています。

VS の最初からアプリケーションを起動しましたが、VS の外で起動しようとすると、エラーが発生します。

Application.exe が動作を停止しました。

私はコールスタックをチェックしましたが、ここに私が得たものがあります:

ntdll.dll!_RtlReportCriticalFailure@8() ntdll.dll ではありません!_RtlpHeapHandleError@4() ntdll.dll ではありません!_RtlpLogHeapFailure@24() ntdll.dll ではありません!RtlpAllocateHeap() ntdll.dll ではありません!RtlAllocateHeap() ntdll.dll ではありません! RtlDosPathNameToRelativeNtPathName() Inconnu ntdll.dll!_RtlDosPathNameToRelativeNtPathName_U_WithStatus@16() Inconnu KernelBase.dll!_CreateFileInternal@24() Inconnu KernelBase.dll! CreateFileW@28() inconnu msvcr110.dll!_createFile(const wchar_t * path, unsigned long fileaccess, unsigned long fileshare, _SECURITY_ATTRIBUTES * lpSecurityAttributes, unsigned long filecreate, unsigned long fileattrib, unsigned long fileflags) Ligne 272 C msvcr110.dll!_wsopen_nolock(int * punlock_flag, int * pfh, const wchar_t * path, int oflag, int shflag, int pmode, int bSecure) Ligne 495 C msvcr110.dll!_sopen_nolock(int * punlock_flag, int * pfh, const char * path, int oflag, int shflag, int pmode, int bSecure) Ligne 216 C msvcr110.dll!_sopen_helper(const char * path, int oflag, int shflag, int pmode, int * pfh, int bSecure) Ligne 172 C msvcr110.dll!_sopen_s(int * pfh, const char * path, int oflag, int shflag, int pmode) Ligne 999 C msvcr110.dll!_openfile(const char * filename, const char * mode, int shflag,_iobuf * str) Ligne 272 C msvcr110.dll!_fsopen(const char * file, const char * mode, int shflag) Ligne 86 C msvcr110.dll!fopen(const char * file, const char * mode) Ligne 125 C sfml- graphics-2.dll!61afa02e() Inconnu [Les frames ci-dessous sont peut-êtreirreversts et/ou manquants, aucun symbole chargé pour sfml-graphics-2.dll]
msvcr110.dll!_unlock(int locknum) ライン 366 C msvcr110.dll!_unlockexit() ライン 802 C

アプリケーションがランダムに起動することがありますが、理由はわかりません... sfml から LoadFromFile() メソッドを呼び出した後にクラッシュすることがよくあります。

誰かがこの問題を抱えたことがありますか?

ありがとう。

4

0 に答える 0