Search found 177 matches

by rocrail
Mon Sep 09, 2019 9:49 am
Forum: C++ Development
Topic: Disable verbose on wxImage::LoadFile
Replies: 3
Views: 69

Re: Disable verbose on wxImage::LoadFile

Thanks, that solved it. :)
by rocrail
Mon Sep 09, 2019 9:26 am
Forum: C++ Development
Topic: Disable verbose on wxImage::LoadFile
Replies: 3
Views: 69

Re: Disable verbose on wxImage::LoadFile

Calling
image.SetLoadFlags(image.GetLoadFlags() & ~wxImage::Load_Verbose);

does not disable the popups...
by rocrail
Mon Sep 09, 2019 9:03 am
Forum: C++ Development
Topic: Disable verbose on wxImage::LoadFile
Replies: 3
Views: 69

Disable verbose on wxImage::LoadFile

I'm implementing video streaming, and not all jpeg received data is OK. Its OK that the LoadFile function returns false in case of corrupt data. But, I want to switch off verbose: bool wxJPEGHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose, int WXUNUSED(index) ) Every time corr...
by rocrail
Fri Aug 02, 2019 10:17 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 471

Re: wxWebView and Windows

doublemax wrote:
Fri Aug 02, 2019 9:39 am
So what exactly did you do? Split the MJPEG stream yourself and display individual images?
Yes. :)
by rocrail
Fri Aug 02, 2019 9:28 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 471

Re: wxWebView and Windows

OK, success! :)

https://youtu.be/Hi_QLKD4EC0

Just watch the whole video; I will wink.

The video shows 12 fps, 320x240 pixels.
by rocrail
Thu Aug 01, 2019 5:26 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 471

Re: wxWebView and Windows

Splitting up the mjpg stream is very simple.
I will implement a small widget for this...
by rocrail
Thu Aug 01, 2019 1:09 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 471

Re: wxWebView and Windows

There seems to be work arounds for IE:
https://www.yawcam.com/forum/viewtopic.php?t=3592
But unfortunately this does not work. I also tested it directly with the MS InternetExplorer.
by rocrail
Thu Aug 01, 2019 8:50 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 471

Re: wxWebView and Windows

The link is not public.

Edge under Windows 10 does support *.mjpg, so if webview.exe is told to emulate IE11 I would suspect it works with wxWebView too.
Should I open a Bug? wxWebView works out of the box under macOS and Linux-GTK.
by rocrail
Thu Aug 01, 2019 8:32 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 471

Re: wxWebView and Windows

I add following line: #ifdef __WXMSW__ { wxLogNull nolog; // suppress error messages wxRegKey rk( wxT("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION") ); rk.Create(); rk.SetValue( wxT("webview.exe"), 11001); } #endif No error popups, but t...
by rocrail
Thu Aug 01, 2019 8:24 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 471

Re: wxWebView and Windows

this part exists:

Code: Select all

HKCU\Software\Microsoft\Internet Explorer\Main
But should the rest of the path not be created by a function call first? (Create?)
by rocrail
Thu Aug 01, 2019 8:19 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 471

Re: wxWebView and Windows

Hi,

the path does not exist in the registry.

In the log you see HKCU instead of HKEY_CURRENT_USER...
by rocrail
Thu Aug 01, 2019 8:09 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 471

Re: wxWebView and Windows

OK, commented it out, but the following error pops up: 10:07:08: Can't open registry key 'HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION' (error 2: Das System kann die angegebene Datei nicht finden.) 10:07:08: Can't set value of 'HKCU\Software\Microsoft\Inter...
by rocrail
Thu Aug 01, 2019 8:02 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 471

Re: wxWebView and Windows

Here the error logging after I commented out the wxLogNull code line: 10:00:12: Can't open registry key 'HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION' (error 2: Das System kann die angegebene Datei nicht finden.) 10:00:12: Can't set value of 'HKCU\Software\...
by rocrail
Thu Aug 01, 2019 7:46 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 471

Re: wxWebView and Windows

OK, I did so.
But the popup still shows up...
by rocrail
Thu Aug 01, 2019 6:04 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 471

Re: wxWebView and Windows

I did give it a try, but at startup a warning pops up: Failed to find web view emulation level in the registry This popup comes for both MSWSetEmulationLevel and MSWSetModernEmulationLevel. The registry item where wxWidgets is looking for does not exist under Windows 10: Its not in CURRENT_USER but ...