困っています。
VC++は、初心者なので、教えてください。
デバッグモードでGetSaveFileNameを実行すると、デバッグウインドウに
RPC サーバーを利用できませんのエラーが表示されます。
(GetOpenFileNameでも同じ)
その後、2,3分すると、(何も操作しないで)
初回の例外が発生しました:起動されたオブジェクトはクライアントから切断されました
初回の例外が発生しました:オブジェクトをサーバーに接続できません
初回の例外が発生しました:起動されたオブジェクトはクライアントから切断されました。
場所 0xfeeefeee を読み込み中にアクセス違反が発生しました。
ハンドルされていない例外が発生しました: 0xC0000005: 場所 0xfeeefeee を読み込み中にアクセス違反が発生しました。
となり、画面にエラーウィンドウが表示されます。
継続すると、そのまま動作します。
リリースモードでは、エラーは出ません。
よろしくお願いいたします。
環境
Windows7
VisualStudio2010
C++
//<ソースコード(全部)>
#include "atlstr.h"
#include "commdlg.h"
#pragma comment( lib, "comdlg32.lib" )
//
// ファイルを開く/保存するダイアログ表示
//
bool ShowFileOpenSaveDialog(HWND hParentWnd,CAtlString* pstrFileName,bool bSaveDialog,LPCTSTR pszInitFoler=NULL,LPCTSTR pszFilterExt=NULL,LPCTSTR pszFilterName=NULL,bool bUseAllFilter=true,LPCTSTR pszTitle=NULL)
{
BOOL ret;
TCHAR pszName[2048];
TCHAR pszFilter[2048];
OPENFILENAME sOpenFileName;
if(pstrFileName == NULL)
return false;
*pstrFileName = _T("");
/////////////////////////////////
//パラメータ初期化
//
pszName[0] = NULL;
::ZeroMemory(&sOpenFileName,sizeof(OPENFILENAME));
sOpenFileName.lStructSize = sizeof(OPENFILENAME);
sOpenFileName.hwndOwner = hParentWnd;
sOpenFileName.lpstrFile = pszName;
sOpenFileName.nMaxFile = 2048;
sOpenFileName.lpstrFilter = pszFilter;
sOpenFileName.nFilterIndex = 1;
sOpenFileName.lpstrTitle = pszTitle;
sOpenFileName.nMaxFileTitle = pszTitle ? (DWORD)::_tcslen(pszTitle) : 0;
sOpenFileName.lpstrInitialDir = pszInitFoler;
sOpenFileName.Flags = OFN_PATHMUSTEXIST | OFN_DONTADDTORECENT | OFN_EXPLORER | (bSaveDialog ? OFN_OVERWRITEPROMPT : OFN_FILEMUSTEXIST);
sOpenFileName.lpstrFilter = pszFilterName
/////////////////////////////////
//ダイアログ表示
//
if(bSaveDialog)
ret = ::GetSaveFileName(&sOpenFileName);
else
ret = ::GetOpenFileName(&sOpenFileName);
if(ret == FALSE)
return false;
*pstrFileName = pszName;
return true;
}
int APIENTRY _tWinMain( HINSTANCE hinst, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow )
//void Test(void)
{
bool ret;
CAtlString strFile;
while( 1 )
{ //アプリ本体
ret = ShowFileOpenSaveDialog(NULL,&strFile,true,_T("d:"),_T("*.bmp"),_T("BMP ファイル (*.bmp)\0*.bmp\0"));
MessageBox(NULL,strFile,_T(""),MB_OK);
}
}
GetSaveFileNameでRPC サーバーを利用できません
- softya(ソフト屋)
- 副管理人
- 記事: 11677
- 登録日時: 15年前
- 住所: 東海地方
- 連絡を取る:
Re: GetSaveFileNameでRPC サーバーを利用できません
コードタグをご利用頂けるとありがたいです。
フォーラムルール → http://dixq.net/board/board.html
「RPC サーバーを利用できません」に関しては、GetOpenFileName()やらGetSaveFileName()で出るものですが致命的なものではありませんので気にしないでください。
※ OSが余分なことしている程度のものです。
デバッグビルドして暫く起動してみましたがエラーの状況は再現されないようです。
>ハンドルされていない例外が発生しました: 0xC0000005: 場所 0xfeeefeee を読み込み中にアクセス違反が発生しました。
このエラーが出ているのなら、デバッガで呼出し履歴など確認できると思いますが、エラー場所がGetSaveFileName()の中だと確認できますでしょうか?
codeタグで次のように表示されます。
フォーラムルール → http://dixq.net/board/board.html
「RPC サーバーを利用できません」に関しては、GetOpenFileName()やらGetSaveFileName()で出るものですが致命的なものではありませんので気にしないでください。
※ OSが余分なことしている程度のものです。
デバッグビルドして暫く起動してみましたがエラーの状況は再現されないようです。
>ハンドルされていない例外が発生しました: 0xC0000005: 場所 0xfeeefeee を読み込み中にアクセス違反が発生しました。
このエラーが出ているのなら、デバッガで呼出し履歴など確認できると思いますが、エラー場所がGetSaveFileName()の中だと確認できますでしょうか?
codeタグで次のように表示されます。
ema3 さんが書きました://<ソースコード(全部)> #include "atlstr.h" #include "commdlg.h" #pragma comment( lib, "comdlg32.lib" ) // // ファイルを開く/保存するダイアログ表示 // bool ShowFileOpenSaveDialog(HWND hParentWnd,CAtlString* pstrFileName,bool bSaveDialog,LPCTSTR pszInitFoler=NULL,LPCTSTR pszFilterExt=NULL,LPCTSTR pszFilterName=NULL,bool bUseAllFilter=true,LPCTSTR pszTitle=NULL) { BOOL ret; TCHAR pszName[2048]; TCHAR pszFilter[2048]; OPENFILENAME sOpenFileName; if(pstrFileName == NULL) return false; *pstrFileName = _T(""); ///////////////////////////////// //パラメータ初期化 // pszName[0] = NULL; ::ZeroMemory(&sOpenFileName,sizeof(OPENFILENAME)); sOpenFileName.lStructSize = sizeof(OPENFILENAME); sOpenFileName.hwndOwner = hParentWnd; sOpenFileName.lpstrFile = pszName; sOpenFileName.nMaxFile = 2048; sOpenFileName.lpstrFilter = pszFilter; sOpenFileName.nFilterIndex = 1; sOpenFileName.lpstrTitle = pszTitle; sOpenFileName.nMaxFileTitle = pszTitle ? (DWORD)::_tcslen(pszTitle) : 0; sOpenFileName.lpstrInitialDir = pszInitFoler; sOpenFileName.Flags = OFN_PATHMUSTEXIST | OFN_DONTADDTORECENT | OFN_EXPLORER | (bSaveDialog ? OFN_OVERWRITEPROMPT : OFN_FILEMUSTEXIST); sOpenFileName.lpstrFilter = pszFilterName ///////////////////////////////// //ダイアログ表示 // if(bSaveDialog) ret = ::GetSaveFileName(&sOpenFileName); else ret = ::GetOpenFileName(&sOpenFileName); if(ret == FALSE) return false; *pstrFileName = pszName; return true; } int APIENTRY _tWinMain( HINSTANCE hinst, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow ) //void Test(void) { bool ret; CAtlString strFile; while( 1 ) { //アプリ本体 ret = ShowFileOpenSaveDialog(NULL,&strFile,true,_T("d:"),_T("*.bmp"),_T("BMP ファイル (*.bmp)\0*.bmp\0")); MessageBox(NULL,strFile,_T(""),MB_OK); } }
by softya(ソフト屋) 方針:私は仕組み・考え方を理解して欲しいので直接的なコードを回答することはまれですので、すぐコードがほしい方はその旨をご明記下さい。私以外の方と交代したいと思います(代わりの方がいる保証は出来かねます)。
Re: GetSaveFileNameでRPC サーバーを利用できません
回答ありがとうございます。
コードタグの件、申し訳ありませんでした。
(フォーラムルール確認させていただきました。)
こちらでも、64bitマシンがあったので、projectをコピーして動作させたところ、
「RPC サーバーを利用できません」も表示されず、エラーにもなりませんでした。
環境の問題のように思います。
出力内容と呼び出し履歴を記載させていただきます。
(デバッグ開始後、何も触らずに、そのままエラーが発生した時の内容です。)
よろしくお願いいたします。
コードタグの件、申し訳ありませんでした。
(フォーラムルール確認させていただきました。)
こちらでも、64bitマシンがあったので、projectをコピーして動作させたところ、
「RPC サーバーを利用できません」も表示されず、エラーにもなりませんでした。
環境の問題のように思います。
出力内容と呼び出し履歴を記載させていただきます。
(デバッグ開始後、何も触らずに、そのままエラーが発生した時の内容です。)
よろしくお願いいたします。
'test3.exe': 'C:\Users\ema3\Documents\Visual Studio 2010\Projects\test3\Debug\test3.exe' を読み込みました。シンボルが読み込まれました。
'test3.exe': 'C:\Windows\System32\ntdll.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\kernel32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\KernelBase.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\user32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\gdi32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\lpk.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\usp10.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\msvcrt.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\comdlg32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\shlwapi.dll' を読み込みました。Cannot find or open the PDB file
'test3.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
'test3.exe': 'C:\Windows\System32\advapi32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\sechost.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\rpcrt4.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\shell32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\msvcr100d.dll' を読み込みました。シンボルが読み込まれました。
'test3.exe': 'C:\Windows\System32\imm32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\msctf.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\ole32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\cryptbase.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\clbcatq.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\oleaut32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\uxtheme.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\setupapi.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\cfgmgr32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\devobj.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\propsys.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\ntmarta.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\Wldap32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\profapi.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\apphelp.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\IMJP14.IME' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcr90.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcp90.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\IMJP14K.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\version.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\ExplorerFrame.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\duser.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\dui70.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\WindowsCodecs.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\msiltcfg.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\msi.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Dell\Dell Data Protection\Access\Advanced\Wave\Trusted Drive Manager\TdmIconOverlay.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\psapi.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\winsxs\x86_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_51cd0a7abbe4e19b\ATL90.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\EhStorShell.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Microsoft Office\Office14\GROOVEEX.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Microsoft Office\Office14\GROOVEEX.DLL' をアンロード
'test3.exe': 'C:\Program Files\Microsoft Office\Office14\GROOVEEX.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\OFFICE14\Cultures\OFFICE.ODF' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Microsoft Office\Office14\1041\GrooveIntlResource.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\cscui.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\cscdll.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\cscapi.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\ntshrui.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\srvcli.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\slc.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\dwmapi.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\xmllite.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\msftedit.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\IME14\IMEJP\IMJPAPI.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\IME14\SHARED\IMJKAPI.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\IME14\IMEJP\IMJPPRED.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\IME14\IMEJP\IMJPTIP.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\oleacc.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\IME14\SHARED\IMETIP.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\IME14\SHARED\IMECFM.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\cryptsp.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\msls31.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\xmllite.dll' をアンロード
'test3.exe': 'C:\Windows\System32\rsaenh.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\RpcRtRemote.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\IME14\SHARED\IMECMPS.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\xmllite.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\StructuredQuery.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\secur32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\sspicli.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\actxprxy.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\IME14\SHARED\IMESEARCHDLL.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Internet Explorer\ieproxy.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\SearchFolder.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\thumbcache.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\shdocvw.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\ieframe.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\iertutil.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\IME14\SHARED\IMECFM.DLL' をアンロード
スレッド 'Win32 スレッド' (0x229c) はコード 1 (0x1) で終了しました。
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\IME14\SHARED\IMECFM.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\networkexplorer.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\mpr.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\drprov.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\winsta.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\ntlanman.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\davclnt.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\davhlpr.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\wkscli.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\netutils.dll' を読み込みました。Cannot find or open the PDB file
test3.exe の 0x75c4812f で初回の例外が発生しました: 0x000006BA: RPC サーバーを利用できません。
'test3.exe': 'C:\Windows\System32\wpdshext.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\winmm.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18120_none_72d2e82386681b36\GdiPlus.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\PortableDeviceApi.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\wintrust.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\crypt32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\msasn1.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\audiodev.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\WMVCORE.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\WMASF.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\EhStorAPI.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\linkinfo.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\networkitemfactory.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\dtsh.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\FirewallAPI.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\Web Folders\MSONSEXT.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\Web Folders\MSONSEXT.DLL' をアンロード
'test3.exe': 'C:\Windows\AppPatch\AcLayers.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\userenv.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\winspool.drv' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\AppPatch\AcSpecfc.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\mscms.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\ddraw.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\dciman32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\ws2_32.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\nsi.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\shunimpl.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\Web Folders\MSONSEXT.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\Web Folders\PKMWS.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\urlmon.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\wininet.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\normaliz.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\hlink.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\wsock32.dll' を読み込みました。Cannot find or open the PDB file
スレッド 'Win32 スレッド' (0x22c8) はコード 0 (0x0) で終了しました。
'test3.exe': 'C:\Windows\System32\npmproxy.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\fundisc.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\atl.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\msxml6.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\dnsapi.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\IPHLPAPI.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\winnsi.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\fdProxy.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\Web Folders\1041\NSEXTINT.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\fdWCN.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\WcnApi.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\fdWNet.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\dfscli.dll' を読み込みました。Cannot find or open the PDB file
test3.exe の 0x75c4812f で初回の例外が発生しました: 0x000006BA: RPC サーバーを利用できません。
'test3.exe': 'C:\Windows\System32\browcli.dll' を読み込みました。Cannot find or open the PDB file
スレッド 'Win32 スレッド' (0x2318) はコード 0 (0x0) で終了しました。
'test3.exe': 'C:\Windows\System32\mswsock.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\WSHTCPIP.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\wship6.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Program Files\Common Files\microsoft shared\Windows Live\WLIDNSP.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\rasadhlp.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\FWPUCLNT.DLL' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\dhcpcsvc6.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\dhcpcsvc.dll' を読み込みました。Cannot find or open the PDB file
'test3.exe': 'C:\Windows\System32\netmsg.dll' を読み込みました。バイナリはデバッグ情報と一緒にビルドされませんでした。
'test3.exe': 'C:\Windows\System32\audiodev.dll' をアンロード
'test3.exe': 'C:\Windows\System32\WMVCORE.DLL' をアンロード
'test3.exe': 'C:\Windows\System32\WMASF.DLL' をアンロード
'test3.exe': 'C:\Windows\System32\wpdshext.dll' をアンロード
'test3.exe': 'C:\Windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18120_none_72d2e82386681b36\GdiPlus.dll' をアンロード
スレッド 'Win32 スレッド' (0x2298) はコード 0 (0x0) で終了しました。
スレッド 'Win32 スレッド' (0x22a8) はコード 0 (0x0) で終了しました。
スレッド 'Win32 スレッド' (0x2460) はコード 0 (0x0) で終了しました。
スレッド 'Win32 スレッド' (0x22c0) はコード 0 (0x0) で終了しました。
スレッド 'Win32 スレッド' (0x2300) はコード 0 (0x0) で終了しました。
スレッド 'Win32 スレッド' (0x22d4) はコード 0 (0x0) で終了しました。
スレッド 'Win32 スレッド' (0x22dc) はコード 0 (0x0) で終了しました。
test3.exe の 0x75c4812f で初回の例外が発生しました: 0x80010108: 起動されたオブジェクトはクライアントから切断されました。
test3.exe の 0x75c4812f で初回の例外が発生しました: 0x80010108: 起動されたオブジェクトはクライアントから切断されました。
test3.exe の 0x75c4812f で初回の例外が発生しました: 0x80010108: 起動されたオブジェクトはクライアントから切断されました。
test3.exe の 0x75c4812f で初回の例外が発生しました: 0x800401FD: オブジェクトをサーバーに接続できません
test3.exe の 0x75c4812f で初回の例外が発生しました: 0x80010108: 起動されたオブジェクトはクライアントから切断されました。
test3.exe の 0x75c4812f で初回の例外が発生しました: 0x80010108: 起動されたオブジェクトはクライアントから切断されました。
test3.exe の 0x776dc99e で初回の例外が発生しました: 0xC0000005: 場所 0xfeeefeee を読み込み中にアクセス違反が発生しました。
test3.exe の 0x776dc99e でハンドルされていない例外が発生しました: 0xC0000005: 場所 0xfeeefeee を読み込み中にアクセス違反が発生しました。
> ole32.dll!776dc99e()
[下のフレームは間違っているか、または見つかりません。ole32.dll に対して読み込まれたシンボルはありません。]
KernelBase.dll!75c46d2a()
fundisc.dll!6fdb4975()
ole32.dll!7771b4d0()
ole32.dll!7771eb7f()
ole32.dll!7771eb4d()
ole32.dll!77718d94()
ole32.dll!7771928b()
ole32.dll!77718f82()
ole32.dll!7771eb7f()
ole32.dll!77718ec3()
ole32.dll!7770bac3()
fundisc.dll!6fdb63ee()
kernel32.dll!7736ed6c()
ntdll.dll!7789377b()
ntdll.dll!7789374e()
Re: GetSaveFileNameでRPC サーバーを利用できません
の後にセミコロンが無いのと、
pszFilterが初期化されていないように見えるのは大丈夫ですか?
【追記】
後者については、sOpenFileName.lpstrFilterをpszFilterNameで上書きしているから大丈夫そうですね。
でも紛らわしいです。
pszFilterが初期化されていないように見えるのは大丈夫ですか?
【追記】
後者については、sOpenFileName.lpstrFilterをpszFilterNameで上書きしているから大丈夫そうですね。
でも紛らわしいです。
複雑な問題?マシンの性能を上げてOpenMPで殴ればいい!(死亡フラグ)
- softya(ソフト屋)
- 副管理人
- 記事: 11677
- 登録日時: 15年前
- 住所: 東海地方
- 連絡を取る:
Re: GetSaveFileNameでRPC サーバーを利用できません
ole32.dllに何か問題が有るようですね。WindowsUpadateで直るかもしれません。最新状態でしょうか?
当方はWindows7 64bitでx86でコンパイルして実行して問題ありませんでした。
当方はWindows7 64bitでx86でコンパイルして実行して問題ありませんでした。
by softya(ソフト屋) 方針:私は仕組み・考え方を理解して欲しいので直接的なコードを回答することはまれですので、すぐコードがほしい方はその旨をご明記下さい。私以外の方と交代したいと思います(代わりの方がいる保証は出来かねます)。
Re: GetSaveFileNameでRPC サーバーを利用できません
>みけCATさん。
回答ありがとうございます。
pszFilterNameの ; は、掲示板へのコピーミスでした。
たしかにpszFilterが初期化抜けてました。
>softya(ソフト屋) さん
WindowsUpdateは、実行済みです。
ole32.dllですが、64bitマシンのsystem32のole32.dllとサイズが異なっていたので、コピーして実行してみましたが、変化ありませんでした。
32bit C:\Windows\System32\ole32.dll 2010/11/21 06:29:07 1381KB
64bit C:\Windows\System32\ole32.dll 2010/11/21 12:23:48 2038KB
64bit C:\Windows\SysWOW64\ole32.dll 2010/11/21 12:23:48 1381KB
ちなみに32bitのole32.dllと64bitのSysWOW64\ole32.dllは、内容が一致していました。
回答ありがとうございます。
pszFilterNameの ; は、掲示板へのコピーミスでした。
たしかにpszFilterが初期化抜けてました。
>softya(ソフト屋) さん
WindowsUpdateは、実行済みです。
ole32.dllですが、64bitマシンのsystem32のole32.dllとサイズが異なっていたので、コピーして実行してみましたが、変化ありませんでした。
32bit C:\Windows\System32\ole32.dll 2010/11/21 06:29:07 1381KB
64bit C:\Windows\System32\ole32.dll 2010/11/21 12:23:48 2038KB
64bit C:\Windows\SysWOW64\ole32.dll 2010/11/21 12:23:48 1381KB
ちなみに32bitのole32.dllと64bitのSysWOW64\ole32.dllは、内容が一致していました。
Re: GetSaveFileNameでRPC サーバーを利用できません
64bitって、SysWOW64のほうが32bit用でしたね。
勘違いしました。
64bit C:\Windows\System32\ole32.dll 2010/11/21 12:23:48 2038KB
64bit C:\Windows\SysWOW64\ole32.dll 2010/11/21 12:23:48 1381KB
勘違いしました。
64bit C:\Windows\System32\ole32.dll 2010/11/21 12:23:48 2038KB
64bit C:\Windows\SysWOW64\ole32.dll 2010/11/21 12:23:48 1381KB
- softya(ソフト屋)
- 副管理人
- 記事: 11677
- 登録日時: 15年前
- 住所: 東海地方
- 連絡を取る:
Re: GetSaveFileNameでRPC サーバーを利用できません
厄介ですね。
なんらかの環境問題だとは思うのですが、検索でも同一問題で引っかからない状況です。
また調べて何か分からったら報告します。
なんらかの環境問題だとは思うのですが、検索でも同一問題で引っかからない状況です。
また調べて何か分からったら報告します。
by softya(ソフト屋) 方針:私は仕組み・考え方を理解して欲しいので直接的なコードを回答することはまれですので、すぐコードがほしい方はその旨をご明記下さい。私以外の方と交代したいと思います(代わりの方がいる保証は出来かねます)。