Search found 154 matches

by Natulux
Mon Feb 11, 2019 10:51 pm
Forum: C++ Development
Topic: wxW311 wxSocket changes
Replies: 6
Views: 127

Re: wxW311 wxSocket changes

These are a little too many errors for a switch from 3.1.0 to 3.1.1. Are you sure you're not mixing include files and/or libraries from different versions? Did you make a clean rebuild of everything? Yes, I keep wxWidgets versions in different directories and the core libs are included dynamically....
by Natulux
Mon Feb 11, 2019 10:22 pm
Forum: C++ Development
Topic: wxW311 wxSocket changes
Replies: 6
Views: 127

Re: wxW311 wxSocket changes

Hm, strange. The wxbase31u_net.lib was actually missing for the socketClient. I wonder why wxWidgets310 wouldn't miss it, though. Well, I still have some linker errors left: LNK2001 unresolved external symbol "class wxEventTypeTag<class wxTaskBarIconEvent> const wxEVT_TASKBAR_RIGHT_UP" (?wxEVT_TASKB...
by Natulux
Mon Feb 11, 2019 1:48 pm
Forum: C++ Development
Topic: wxW311 wxSocket changes
Replies: 6
Views: 127

Re: wxW311 wxSocket changes

Between wx3.1.0 (Feb 2016) and wx3.1.1 (Feb 2018) there has been some change in the libs needed for Windows target. At least oleacc is required now. You may take a look at minimal sample project to find out the requiered libraries. Hey, thank you for your input. Im am not sure though, if I undersan...
by Natulux
Mon Feb 11, 2019 8:53 am
Forum: C++ Development
Topic: wxW311 wxSocket changes
Replies: 6
Views: 127

wxW311 wxSocket changes

Hey, does anyone know about changes to the wxSocketBase/wxSocketClient in wxW311? I am having a rather simple project, using a custom http request class to give information to another app with a socket server running. Compiling this project with my wxW310 setting everything runs smoothly. But wxW311...
by Natulux
Thu Feb 07, 2019 8:37 am
Forum: C++ Development
Topic: namespace and global variable
Replies: 2
Views: 73

Re: namespace and global variable

doublemax wrote:Worked without errors for me when i created a log.h and log.cpp from the code you've shown (and added the missing includes for wx classes).
Good to know, thanks for testing! When the code is right, I need to double check my usage of it.
Or maybe it just works now, because the sun is out.

Best
Natu
by Natulux
Wed Feb 06, 2019 12:48 pm
Forum: C++ Development
Topic: namespace and global variable
Replies: 2
Views: 73

namespace and global variable

Hey guys, I am a little confused with what might be a standard C++ issue, but I don't get it. There is much to read about namespaces and global variables, but I can't see the error in my case. My app uses a function in global namespace, to write into a log file whenever I like to. For that purpose, ...
by Natulux
Tue Jan 29, 2019 1:20 pm
Forum: C++ Development
Topic: wxGUIEventLoop Null-Ptr-Exception
Replies: 10
Views: 255

Re: wxGUIEventLoop Null-Ptr-Exception

Hey Hi, Do they provide debug version of DLL? No, not that I know of. I would have needed the .pdb to debug it with vs and I couldn't get that. I could not use the pecompiled DLL anyway, because the context menu of a right click has hardcoded chinese signs in it. BTW, I was able to compile FF on my ...
by Natulux
Mon Jan 28, 2019 7:15 am
Forum: C++ Development
Topic: wxGUIEventLoop Null-Ptr-Exception
Replies: 10
Views: 255

Re: wxGUIEventLoop Null-Ptr-Exception

BTW: I intend to make some experiments with wxWebViewBlink myself, but don't know when that'll be. Just a side note: Even with some serious server hardware, the MiniBlink master takes about 3-4h to compile. I learned only after that time, that the master is not always buildable (you can run into he...
by Natulux
Fri Jan 25, 2019 7:01 am
Forum: C++ Development
Topic: wxGUIEventLoop Null-Ptr-Exception
Replies: 10
Views: 255

Re: wxGUIEventLoop Null-Ptr-Exception

I wouldn't care about this "low level" detail too much. The real problem is probably much further up. Is wxWebViewBlink actually doing anything at that point, is it displaying a page? Have you tried building a minimal sample that just contains wxWebViewBlink and checked if that crashes, too? Yes, t...
by Natulux
Thu Jan 24, 2019 12:31 pm
Forum: C++ Development
Topic: wxGUIEventLoop Null-Ptr-Exception
Replies: 10
Views: 255

Re: wxGUIEventLoop Null-Ptr-Exception

I wouldn't care about this "low level" detail too much. The real problem is probably much further up. Is wxWebViewBlink actually doing anything at that point, is it displaying a page? Have you tried building a minimal sample that just contains wxWebViewBlink and checked if that crashes, too? Yes, t...
by Natulux
Thu Jan 24, 2019 7:31 am
Forum: C++ Development
Topic: wxGUIEventLoop Null-Ptr-Exception
Replies: 10
Views: 255

Re: wxGUIEventLoop Null-Ptr-Exception

Yesterday, the app didn't throw an exception - the frame wasn't shown. But over the night to today, I have the exception again - I made sure the frame was shown before I left. I am sure it is the msg->hwnd because it's value is NULL and the whole function is build on it. The PreProcessMessage doesn'...
by Natulux
Wed Jan 23, 2019 7:22 am
Forum: C++ Development
Topic: wxGUIEventLoop Null-Ptr-Exception
Replies: 10
Views: 255

Re: wxGUIEventLoop Null-Ptr-Exception

Hey I presume you didn't have this issue with the pre3vious version of wx? I didn't. But with the previous version, I didn't even have this webview dialog with blink backend, which is causing the problem. I may have explained myself a bit poorly in that regard. Do you have the source code for the no...
by Natulux
Tue Jan 22, 2019 9:50 am
Forum: C++ Development
Topic: wxGUIEventLoop Null-Ptr-Exception
Replies: 10
Views: 255

wxGUIEventLoop Null-Ptr-Exception

Hi, I upgraded to wxWidgets 3.1.1 (vs2015, C++) in order to use the changes to wxWebView. I changed the the backend of the WebView to MiniBlink with code from GitHub: https://github.com/imReker/wxWebViewBlink It is used in a frame-class: class WebFrame : public wxFrame While it works quite fine by n...
by Natulux
Wed Dec 19, 2018 8:16 am
Forum: C++ Development
Topic: wxMemoryFSHandler relative path
Replies: 10
Views: 220

Re: wxMemoryFSHandler relative path

You know that you can address files in the zip-archive directly? You don't have to put every single file in a memory filesystem first. If not, check <wxdir>/samples/html/zip/ (The sample is for wxHtmlWindow, i guess it should also work with wxWebView, but i'm not sure). Yes, I know that. The webvie...
by Natulux
Tue Dec 18, 2018 12:30 pm
Forum: C++ Development
Topic: wxMemoryFSHandler relative path
Replies: 10
Views: 220

Re: wxMemoryFSHandler relative path

None of them can load images from the memory (with or without memory tag), if the original image comes from a zip container (even though the bytes read are equal to the uncompressed size of the image in and out of the zip file). Ok, that probably means that just the zip reading code is still wrong....