MFC WebBrowser연동 관련 질문입니다.

gkgh0216의 이미지

안녕하세요 초보개발자입니다.

현재 MFC를 이용하여 웹브라우져를 컨트롤하여 값을 가져오는 프로그램을 구현하고 있는데 어려움이 있어 고수분들께 질문 드립니다.

제가 현재 IWebBrowser2를 이용하고 자동로그인 관련 소스가 있어 그부분을 참고하여 자동로그인까지는 완료 하였는데요 해당 사이트에서 자동로그인 후 검색관련 페이지로 이동을 해야 하는데 로그인 완료 후 페이지 로딩이 완료되는 시점을 찾지 못하여 헤매고 있습니다.

로그인 완료시점 후에 페이지 이동을 해야 정상적으로 이동이 되는데 그 시점을 찾기가 어렵더라구요... IWebBrowser2 메소드중에 URL가져오는것(get_LocationURL)도 있는 것 같아서 URL 비교 후에 맞으면 넘어가는 식으로 구현하려고 했는데 그것도 잘 안되구요...

혹시 다른 방법이 있으면 알려주실 수 있을까요? 부탁드립니다.

기본적인 페이지 로딩 완료 시점은 OnDocumentComplete를 이용한 메세지처리방식으로 구현되어있습니다.

늦었지만 다들 새해복 많이 받으세요.

shint의 이미지

코드 프로젝트를 참고 해보세요.
http://www.codeproject.com/search.aspx?q=IWebBrowser2&x=10&y=5&sbo=kw

- 웹 브라우저를 사용한 프로젝트 예제도 있습니다.
- 자바 스크립트를 호출하는 프로젝트도 있습니다.

데브피아에서도 확인해 보세요.
http://www.devpia.com/MAEUL/Contents/List.aspx?boardID=50&MAEULNo=20

코드구루도 참고 해보세요.
http://www.codeguru.com/

디버깅 한 결과
ProgressChangeExplorer1 브라우저 진입후 완료
DownloadCompleteExplorer1 검색후 완료

'MFCApplication3.exe' (Win32): Loaded 'C:\Users\shint\Documents\Visual Studio 2013\Projects\MFCApplication3\Debug\MFCApplication3.exe'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\mfc120ud.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120d.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\lpk.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18455_none_72d576ad8665e853\GdiPlus.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\ieframe.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-downlevel-advapi32-l1-1-0.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-downlevel-shlwapi-l1-1-0.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-downlevel-user32-l1-1-0.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-downlevel-shell32-l1-1-0.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-downlevel-version-l1-1-0.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-downlevel-normaliz-l1-1-0.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\normaliz.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\iertutil.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-downlevel-shlwapi-l2-1-0.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-downlevel-ole32-l1-1-0.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\urlmon.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\wininet.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\userenv.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\apphelp.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\mshtml.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\secur32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-downlevel-advapi32-l2-1-0.dll'. Symbols loaded.
The thread 0x1764 has exited with code 0 (0x0).
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\mlang.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\sxs.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. Symbols loaded.
 
CMFCApplication3Dlg::PropertyChangeExplorer1[0]
 
CMFCApplication3Dlg::DownloadBeginExplorer1[1]
 
CMFCApplication3Dlg::PropertyChangeExplorer1[2]
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\winhttp.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\webio.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\rsaenh.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Unloaded 'C:\Windows\System32\winhttp.dll'
'MFCApplication3.exe' (Win32): Unloaded 'C:\Windows\System32\webio.dll'
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\RpcRtRemote.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\winnsi.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\dnsapi.dll'. Symbols loaded.
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[3]
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[4]
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\IME\imekr8\imkrtip.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\IME\shared\IMETIP.DLL'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\IME\imekr8\imkrapi.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\IME\shared\IMJKAPI.DLL'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\wship6.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\netprofm.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\nlaapi.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\d2d1.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\DWrite.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\dhcpcsvc6.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\dxgidebug.dll'. Cannot find or open the PDB file.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\dhcpcsvc.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\WSHTCPIP.DLL'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\rasadhlp.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\npmproxy.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\FWPUCLNT.DLL'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Unloaded 'C:\Windows\System32\setupapi.dll'
'MFCApplication3.exe' (Win32): Unloaded 'C:\Windows\System32\devobj.dll'
'MFCApplication3.exe' (Win32): Unloaded 'C:\Windows\System32\cfgmgr32.dll'
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\d3d10warp.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Unloaded 'C:\Windows\System32\setupapi.dll'
'MFCApplication3.exe' (Win32): Unloaded 'C:\Windows\System32\devobj.dll'
'MFCApplication3.exe' (Win32): Unloaded 'C:\Windows\System32\cfgmgr32.dll'
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\msimtf.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\msls31.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Symbols loaded.
 
CMFCApplication3Dlg::ProgressChangeExplorer1[5]
 
CMFCApplication3Dlg::FileDownloadExplorer1[6]
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\jscript9.dll'. Symbols loaded.
 
CMFCApplication3Dlg::DownloadCompleteExplorer1[7]
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\WindowsCodecs.dll'. Symbols loaded.
 
CMFCApplication3Dlg::DownloadBeginExplorer1[8]
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[9]
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[10]
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\oleacc.dll'. Symbols loaded.
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[11]
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[12]
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[13]
 
CMFCApplication3Dlg::NavigateComplete2Explorer1[14]
 
CMFCApplication3Dlg::BeforeScriptExecuteExplorer1[15]
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E874.
 
CMFCApplication3Dlg::ProgressChangeExplorer1[16]
 
CMFCApplication3Dlg::ProgressChangeExplorer1[17]
 
CMFCApplication3Dlg::DocumentCompleteExplorer1[18]
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019D3FC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019D734.
 
CMFCApplication3Dlg::DownloadCompleteExplorer1[19]
 
CMFCApplication3Dlg::ProgressChangeExplorer1[20]
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\Wldap32.dll'. Symbols loaded.
 
CMFCApplication3Dlg::DocumentCompleteExplorer1[21]
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[22]
 
CMFCApplication3Dlg::ProgressChangeExplorer1[23]
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019CCCC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C96C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C93C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C93C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C93C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C93C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C93C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C93C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C93C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C93C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2FC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C9DC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019CEA4.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019CEA4.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019CEA4.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019CEA4.
 
CMFCApplication3Dlg::DownloadBeginExplorer1[24]
 
CMFCApplication3Dlg::DownloadCompleteExplorer1[25]
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E8F4.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E8E4.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E8E4.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E8E4.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E8E4.
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[26]
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[27]
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\UIAutomationCore.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. Symbols loaded.
 
CMFCApplication3Dlg::DownloadBeginExplorer1[28]
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C1EC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C284.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C274.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C274.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C274.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C274.
 
CMFCApplication3Dlg::DownloadCompleteExplorer1[29]
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[30]
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E8F4.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E8E4.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E8E4.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E8E4.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E8E4.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\MMDevAPI.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\wdmaud.drv'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\ksuser.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\avrt.dll'. Symbols loaded.
 
CMFCApplication3Dlg::DownloadBeginExplorer1[31]
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\AudioSes.dll'. Symbols loaded.
 
CMFCApplication3Dlg::ProgressChangeExplorer1[32]
 
CMFCApplication3Dlg::ProgressChangeExplorer1[33]
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.drv'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\midimap.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\credssp.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\schannel.dll'. Symbols loaded.
 
CMFCApplication3Dlg::PropertyChangeExplorer1[34]
 
CMFCApplication3Dlg::PropertyChangeExplorer1[35]
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\ncrypt.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\gpapi.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\cryptnet.dll'. Symbols loaded.
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\SensApi.dll'. Symbols loaded.
First-chance exception at 0x75A8812F (KernelBase.dll) in MFCApplication3.exe: 0x0000071A: The remote procedure call was canceled, or if a call time-out was specified, the call timed out.
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[36]
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[37]
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[38]
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[39]
 
CMFCApplication3Dlg::NavigateComplete2Explorer1[40]
 
CMFCApplication3Dlg::BeforeScriptExecuteExplorer1[41]
'MFCApplication3.exe' (Win32): Loaded 'C:\Windows\System32\xmllite.dll'. Symbols loaded.
 
CMFCApplication3Dlg::ProgressChangeExplorer1[42]
 
CMFCApplication3Dlg::ProgressChangeExplorer1[43]
 
CMFCApplication3Dlg::DocumentCompleteExplorer1[44]
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019DFBC.
The thread 0x1b20 has exited with code 0 (0x0).
The thread 0x1c70 has exited with code 0 (0x0).
 
CMFCApplication3Dlg::ProgressChangeExplorer1[45]
 
CMFCApplication3Dlg::DocumentCompleteExplorer1[46]
 
CMFCApplication3Dlg::DocumentCompleteExplorer1[47]
 
CMFCApplication3Dlg::ProgressChangeExplorer1[48]
 
CMFCApplication3Dlg::DocumentCompleteExplorer1[49]
 
CMFCApplication3Dlg::ProgressChangeExplorer1[50]
 
CMFCApplication3Dlg::ProgressChangeExplorer1[51]
 
CMFCApplication3Dlg::DownloadCompleteExplorer1[52]
 
CMFCApplication3Dlg::ProgressChangeExplorer1[53]
 
CMFCApplication3Dlg::DocumentCompleteExplorer1[54]
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019DC4C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E46C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E46C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E46C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E46C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E46C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E46C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E46C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E46C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019E46C.
 
CMFCApplication3Dlg::DownloadBeginExplorer1[55]
 
CMFCApplication3Dlg::ProgressChangeExplorer1[56]
 
CMFCApplication3Dlg::DocumentCompleteExplorer1[57]
 
CMFCApplication3Dlg::DocumentCompleteExplorer1[58]
 
CMFCApplication3Dlg::DocumentCompleteExplorer1[59]
 
CMFCApplication3Dlg::DocumentCompleteExplorer1[60]
 
CMFCApplication3Dlg::DownloadCompleteExplorer1[61]
 
CMFCApplication3Dlg::CommandStateChangeExplorer1[62]
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019D64C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019D64C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2BC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2BC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2BC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019C2BC.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019B98C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019B98C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019B98C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019B98C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019B98C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019B98C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019B98C.
First-chance exception at 0x75A8812F in MFCApplication3.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0019B98C.
 
CMFCApplication3Dlg::DownloadBeginExplorer1[63]
 
CMFCApplication3Dlg::DownloadCompleteExplorer1[64]
 
CMFCApplication3Dlg::ProgressChangeExplorer1[65]
The thread 0xafc has exited with code 0 (0x0).
The thread 0x1834 has exited with code 2 (0x2).
The thread 0x135c has exited with code 2 (0x2).
The thread 0xb20 has exited with code 2 (0x2).
The thread 0x17a4 has exited with code 2 (0x2).
The thread 0x1fac has exited with code 2 (0x2).
The thread 0x618 has exited with code 2 (0x2).
The thread 0x1ac4 has exited with code 2 (0x2).
The thread 0xfdc has exited with code 2 (0x2).
The thread 0xa30 has exited with code 2 (0x2).
The thread 0xbfc has exited with code 2 (0x2).
The thread 0xa7c has exited with code 2 (0x2).
The thread 0x1a84 has exited with code 2 (0x2).
The thread 0x6a4 has exited with code 2 (0x2).
The thread 0x1468 has exited with code 2 (0x2).
The thread 0x1f1c has exited with code 2 (0x2).
The thread 0x11e8 has exited with code 2 (0x2).
The thread 0x7c0 has exited with code 2 (0x2).
The thread 0x15c0 has exited with code 2 (0x2).
The thread 0x1bec has exited with code 2 (0x2).
The thread 0x1860 has exited with code 2 (0x2).
The thread 0xe8c has exited with code 2 (0x2).
The thread 0xe00 has exited with code 2 (0x2).
The thread 0x18f8 has exited with code 2 (0x2).
The thread 0x18cc has exited with code 2 (0x2).
DXGI WARNING: Process is terminating. Using simple reporting. Please call ReportLiveObjects() at runtime for standard reporting. [ STATE_CREATION WARNING #0: ]
DXGI WARNING: Live Producer at 0x003958E8, Refcount: 3. [ STATE_CREATION WARNING #0: ]
DXGI WARNING: 	Live Object at 0x003A2300, Refcount: 4. [ STATE_CREATION WARNING #0: ]
DXGI WARNING: 	Live Object at 0x03991820, Refcount: 1. [ STATE_CREATION WARNING #0: ]
DXGI WARNING: Live                         Object :      2 [ STATE_CREATION WARNING #0: ]
The program '[6332] MFCApplication3.exe' has exited with code 2 (0x2).
댓글 첨부 파일: 
첨부파일 크기
Package icon MFCApplication3.zip140.29 KB

----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.

매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.

각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com

gkgh0216의 이미지

답변 감사드립니다.

궁금한게 있는데 ProgressChangeExplorer1 함수는 선언 형태나 기능구현을 어떤식으로 하셨는지 알 수 있을까요?

디버깅한 소스를 참고했으면 하는데 혹시 일부 발췌도 가능할까요?

shint의 이미지

설명할 내용을 HTML 문서로 만들었습니다. 확인해 보세요.

예전에는 구글 PPT로 만들었었는데. 브라우저 차이로 인해서. 다소 불편한 점이 있습니다.

댓글 첨부 파일: 
첨부파일 크기
Package icon VS2013 CWebBrowser 사용하는 방법.zip2.27 MB

----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.

매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.

각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.