From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.68.206.106 with SMTP id ln10mr4671896pbc.5.1442591049598; Fri, 18 Sep 2015 08:44:09 -0700 (PDT) X-Received: by 10.182.32.68 with SMTP id g4mr29678obi.31.1442591049286; Fri, 18 Sep 2015 08:44:09 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!kq10no4712035igb.0!news-out.google.com!n2ni4784igy.0!nntp.google.com!kq10no6032579igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 18 Sep 2015 08:44:09 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=92.105.173.67; posting-account=DQbqYQoAAACn8hHn2LmG2aF7Mhbxl_Lf NNTP-Posting-Host: 92.105.173.67 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Gtk 3.8.4 (and after) do not fully support WinXp From: ahlan@marriott.org Injection-Date: Fri, 18 Sep 2015 15:44:09 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:27786 Date: 2015-09-18T08:44:09-07:00 List-Id: An Ada program that uses GTK for its GUI fails if it references a DLL written in Ada. A Visual C++ Runtime Library pop-up is raised with the cryptic verse "This application has requested to terminate it in an unusual way" This piece of nonsense actually means that the C runtime has raised an exception that is never caught which results in the abort function being called. The problem here is that it doesn't give us much clue as to what the exception is. However I believe that this error message is produced when a missing function is called from a system DLL. Ie it can't find the entry point within the DLL. The prime candidate for this is LibGlib-2.0-0.Dll which references GetTickCount64 and InitializeSRWLock from Kernel32.dll. Unfortunately these routines are not present in versions prior to V6 which only came with Windows Vista. Therefore GTK 3.8.4 provided as part of the AdaCore GtkAda release for GPL 2015 does not fully support Windows XP. Which is very odd as support of XP was only officially dropped with GTK 3.17.1 However Gnome seem to have broken it already in v3.8.4 For full Windows XP support it is therefore better to revert to v3.8.2 that came bundled with the GtkAda release for GPL 2014. It is hard to find out what exactly changed between 3.8.2 and 3.8.4 but the numbering seems to indicate that there were no major changes or enhancements. Except dropping XP that is! Best wishes, Ahlan