> On Jul 21, 2015, at 9:18 AM, John Ralls <jra...@ceridwen.us> wrote: > > >> On Jul 21, 2015, at 3:28 AM, Robert Fewell <14ubo...@gmail.com> wrote: >> >> John, >> >> I have found a better windows version of gdb and have set the break point >> and catch point as requested. Now running gnucash from gdb the exception >> stems from getting time zone information from gnc-timezone.cpp:240 as can be >> seen in attached image. >> >> Still trying to understand the c++ format but I think the registry keys are >> different in Windows XP to that of later versions as my XP does not have >> 'TimeZoneKeyName' used in windows_default_tzname. >> > > Robert, > > Hmm, the C version of that code in GLib and GC 2.4 doesn’t have a problem on > XP, so I must have screwed something up when I ported it; it might just be > throwing that exception, which is a bad idea since it can’t be caught in the > way I’m using it. Since I can’t test on Windows until the weekend, if I can > manage a patch before then I’ll send it to you to test. > > If you’re completely new to C++, Lipmann’s C++ Primer Plus is widely > recommended.
Robert, Here’s a first try at a patch. I can’t even test compile it until I get back tomorrow afternoon, but you can have a go at it and maybe fix any obvious typos. Regards, John Ralls
0001-Windows-Get-default-timezone-if-there-s-no-default-k.patch
Description: Binary data
_______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel