Modify samples/webview/webview.cpp
Before
wxWebViewConfiguration conf = wxWebView::NewConfiguration(backend);
Add
backend = wxWebViewBackendIE;
wxWebViewEdge::CreateStack trace:
wxmsw332ud_webview_vc_x64_custom.dll!std::_Construct_in_place<wxWebViewEdgeImpl *,wxWebViewEdgeImpl * const &>(wxWebViewEdgeImpl * & _Obj, wxWebViewEdgeImpl * const & <_Args_0>=0x00000149429b83e0) Line 522 C++
wxmsw332ud_webview_vc_x64_custom.dll!std::vector<wxWebViewEdgeImpl *,std::allocator<wxWebViewEdgeImpl *>>::_Emplace_back_with_unused_capacity<wxWebViewEdgeImpl * const &>(wxWebViewEdgeImpl * const & <_Val_0>=0x00000149429b83e0) Line 860 C++
wxmsw332ud_webview_vc_x64_custom.dll!std::vector<wxWebViewEdgeImpl *,std::allocator<wxWebViewEdgeImpl *>>::_Emplace_one_at_back<wxWebViewEdgeImpl * const &>(wxWebViewEdgeImpl * const & <_Val_0>=0x00000149429b83e0) Line 845 C++
wxmsw332ud_webview_vc_x64_custom.dll!std::vector<wxWebViewEdgeImpl *,std::allocator<wxWebViewEdgeImpl *>>::push_back(wxWebViewEdgeImpl * const & _Val=0x00000149429b83e0) Line 933 C++
wxmsw332ud_webview_vc_x64_custom.dll!wxWebViewConfigurationImplEdge::CreateOrGetEnvironment(wxWebViewEdgeImpl * impl=0x00000149429b83e0) Line 313 C++
wxmsw332ud_webview_vc_x64_custom.dll!wxWebViewEdgeImpl::Create() Line 483 C++
> wxmsw332ud_webview_vc_x64_custom.dll!wxWebViewEdge::Create(wxWindow * parent=0x0000014940a78ab0, int id=-1, const wxString & url={...}, const wxPoint & pos={...}, const wxSize & size={...}, long style=0, const wxString & name={...}) Line 1081 C++
webviewsample.exe!WebFrame::WebFrame(const wxString & url={...}, int flags=1, wxWebViewWindowFeatures * windowFeatures=0x0000000000000000) Line 532 C++
webviewsample.exe!WebApp::OnInit() Line 377 C++
wxbase332ud_vc_x64_custom.dll!wxAppConsoleBase::CallOnInit() Line 92 C++
wxbase332ud_vc_x64_custom.dll!wxEntryReal::__l2::<lambda>() Line 560 C++
wxbase332ud_vc_x64_custom.dll!wxSafeCall<int,int <lambda>(void),int <lambda>(void)>(const wxEntryReal::__l2::int <lambda>(void) & func=int <lambda>(void){...}, const wxEntryReal::__l2::int <lambda>(void) & handler=int <lambda>(void){...}) Line 40 C++
wxbase332ud_vc_x64_custom.dll!wxEntryReal(int & argc=1, wchar_t * * argv=0x0000014940a6fb00) Line 557 C++
wxbase332ud_vc_x64_custom.dll!wxEntry(int & argc=1, wchar_t * * argv=0x0000014940a6fb00) Line 166 C++
wxmsw332ud_core_vc_x64_custom.dll!wxEntry(HINSTANCE__ * hInstance=0x00007ff6e6770000, HINSTANCE__ * __formal=0x0000000000000000, char * __formal=0x0000014940a6b0ba, int nCmdShow=10) Line 227 C++
webviewsample.exe!WinMain(HINSTANCE__ * hInstance=0x00007ff6e6770000, HINSTANCE__ * hPrevInstance=0x0000000000000000, char * lpCmdLine=0x0000014940a6b0ba, int nCmdShow=10) Line 345 C++
webviewsample.exe!invoke_main() Line 107 C++
webviewsample.exe!__scrt_common_main_seh() Line 288 C++
webviewsample.exe!__scrt_common_main() Line 331 C++
webviewsample.exe!WinMainCRTStartup(void * __formal=0x00000031d0db0000) Line 17 C++
kernel32.dll!BaseThreadInitThunk() Unknown
ntdll.dll!RtlUserThreadStart() Unknown
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Can confirm, this can be reproduced even without modifying the sample, just by setting WX_WEBVIEW_BACKEND=wxWebViewIE in the environment. wxUSE_WEBVIEW_EDGE must be set to 1, of course.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
OK, this is just due to not implementing CreateConfiguration() in wxWebViewFactoryIE, should be simple to fix...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Should be fixed by #26153, please let me know if you still see any problems.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()