Re: Weird Runtime Errors
- From: Murray Cumming <murrayc murrayc com>
- To: Meelo <brandt milo gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Weird Runtime Errors
- Date: Sat, 17 Apr 2010 13:14:14 +0200
On Tue, 2010-04-13 at 16:48 -0700, Meelo wrote:
[snip]
> Additionally, it throws a Glib::ConvertError that successfully
> outputs with the message:
> Invalid byte sequence in conversion input
>
> I'm really confused as to why this is happening because
> '����basic.glade' is definitely not what I passed to the
> add_from_file method.
Adding this after Gtk::Main might help with the ConvertError, though it
probably won't fix the whole problem:
std::locale::global(std::locale(""));
You'll need to add this include:
#include <locale>
We will do that automatically in Gtk::Main in a future version of gtkmm.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]