Re: 3.22eにアップデートしたらDxLib_Init()でエラー ( No.1 ) |
- 名前:管理人 日時:2021/11/07 23:23
>プロジェクト.exe の 0x6603d183 で初回の例外が発生しました: 0xC0000005: 場所 0x011ddffa に書き込み中にアクセス違反が発生しました。
>プロジェクト.exe の 0x77e815de でハンドルされていない例外が発生しました: 0xC0000005: 場所 0x011ddffa に書き込み中にアクセス違反が発生しました。
メモリの不正なアクセスに依るエラーのようですが、
ChangeWindowMode(TRUE); をコメントアウトするとエラーが出なくなるというのは謎ですね…
お手数で申し訳ありませんがプログラム実行時に作成される Log.txt の内容をそのまま貼り付けて頂けないでしょうか? m(_ _;m
( 原因が分かるログが出力されているかもしれませんので… )
|
Re: 3.22eにアップデートしたらDxLib_Init()でエラー ( No.2 ) |
- 名前:へけぽん 日時:2021/11/07 23:37
'プロジェクト.exe': 'D:\DXライブラリ\自作\Debug\プロジェクト.exe' を読み込みました。シンボルが読み込まれました。
'プロジェクト.exe': 'C:\Windows\SysWOW64\ntdll.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\kernel32.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\KernelBase.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\user32.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\gdi32.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\lpk.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\usp10.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\msvcrt.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\advapi32.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\sechost.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\rpcrt4.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\sspicli.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\cryptbase.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\oleaut32.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\ole32.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\imm32.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\msctf.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\ws2_32.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\nsi.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\winmm.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\shell32.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\shlwapi.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\mfplat.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\avrt.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\mfreadwrite.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\propsys.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\dwmapi.dll' を読み込みました。Cannot find or open the PDB file
0:ファイルアクセス処理の初期化...成功
1560:ChangeWindowMode実行
1560:ウインドウモードフラグが立てられました
1560:DXライブラリの初期化処理開始
1560: システムの情報を出力します
1560: DXライブラリ Ver3.22e
1560: 論理プロセッサの数 : 8
1560: OS Windows7 ( Build 7601 Service Pack 1 )
1591: COMの初期化... 成功
1591: 非同期読み込み処理の初期化...成功
1591: メモリ総量:8160.16MB 空きメモリ領域:6917.44MB
1591: タイマーの精度を検査します
1591: 精度結果 更新回数 マルチメディアタイマー:0 パフォーマンスカウンター:60
1591: パフォーマンスカウンターを使用します タイマー精度 : 3312.861000 KHz
1591: ソフトの二重起動検査... 二重起動はされていませんでした
1591: ウインドウクラスを登録します... 登録に成功しました
1591: ウインドウモード起動用のウインドウを作成します
1591: ディスプレイ情報のセットアップ開始
1591: モニターの数:1 ディスプレイデバイスの数:5
1591: No.0 モニター名:\\.\DISPLAY1 1920x1080 32bit 60Hz
1607: ディスプレイ情報のセットアップ完了
1607: ウインドウの作成に成功しました
1607: ウインドウを表示します
'プロジェクト.exe': 'C:\Windows\SysWOW64\clbcatq.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\IME\IMEJP10\IMJPTIP.DLL' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\oleacc.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\IMJP10K.DLL' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\IME\shared\IMETIP.DLL' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\IME\shared\imecfm.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\IME\IMEJP10\IMJPAPI.DLL' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\version.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\IME\shared\IMJKAPI.DLL' を読み込みました。Cannot find or open the PDB file
1714: IMEを無効にしました
1724: ウインドウスタイルをウインドウモード用に変更します... 完了
1748: DirectInput関係初期化処理
1748: XInput DLL の読み込み中... 'プロジェクト.exe': 'C:\Windows\SysWOW64\xinput1_3.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\setupapi.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\cfgmgr32.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\devobj.dll' を読み込みました。Cannot find or open the PDB file
成功
1786: DirectInput7 の取得中... DirectInput8 の取得を試みます...'プロジェクト.exe': 'C:\Windows\SysWOW64\dinput8.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\hid.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\wintrust.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\crypt32.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\msasn1.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\ntmarta.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\Wldap32.dll' を読み込みました。Cannot find or open the PDB file
成功
1928: 引き続き初期化処理... 初期化成功
'プロジェクト.exe': 'C:\Windows\SysWOW64\uxtheme.dll' を読み込みました。Cannot find or open the PDB file
1950: ジョイパッドの初期化...
'プロジェクト.exe': 'C:\Windows\SysWOW64\wbem\wbemprox.dll' を読み込みました。Cannot find or open the PDB file
'プロジェクト.exe': 'C:\Windows\SysWOW64\wbemcomn.dll' を読み込みました。Cannot find or open the PDB file
プロジェクト.exe の 0x6632d183 で初回の例外が発生しました: 0xC0000005: 場所 0x012ddff2 に書き込み中にアクセス違反が発生しました。
プロジェクト.exe の 0x778d15de でハンドルされていない例外が発生しました: 0xC0000005: 場所 0x012ddff2 に書き込み中にアクセス違反が発生しました。
ちなみにDxLib_Init()を呼ぶ前に、下記の設定をしています
SetGraphMode(1024,896,32);
ChangeWindowMode(TRUE);
SetWindowStyleMode(3);
SetUseDirect3DVersion( DX_DIRECT3D_9EX );
SetWaitVSyncFlag(FALSE);
SetWindowSizeChangeEnableFlag(TRUE,TRUE);
 |
Re: 3.22eにアップデートしたらDxLib_Init()でエラー ( No.3 ) |
- 名前:管理人 日時:2021/11/08 02:26
|
Re: 3.22eにアップデートしたらDxLib_Init()でエラー ( No.4 ) |
- 名前:へけぽん(解決) 日時:2021/11/08 07:16
無事に起動しました
素早い対応、ありがとうございます
3.22eで追加された関数(SetDrawAddColor())も使えました
|