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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d029967618cbf48a X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Rational and X11Ada -- HELP??? Date: 1998/09/11 Message-ID: <6tbg5i$pe6$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 390124334 References: <6tabgr$lfp$1@usenet46.supernews.com> X-Http-Proxy: 1.0 x9.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Sep 11 15:38:26 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.05 [en] (WinNT; I) Date: 1998-09-11T00:00:00+00:00 List-Id: In article <6tabgr$lfp$1@usenet46.supernews.com>, "alan walkington" wrote: > I wrote a little C program which makes some of the library calls that > are crashing the Ada programs and then prints out the results, which look > fine. Lets just say you wouldn't be the first person to find a bug in Rational's X bindings.... I'd highly suggest going into the source code for their bindings and looking for the problem. Try copying the code for the binding you are using into your own code and playing with it there. I tracked down a nasty little pointer dereferencing problem that way. This was a problem that they would have gotten if they had called this routine *even once*. Go figure. Of course that was over 4 years ago. Surely they have most of those bugs worked out by now... ;-) There is also the tasking issue. As I remember it they had a task-safe set of bindings and a "straight" set. If you use non-task safe X bindings in a multitask Ada (or C!) program you have to be very careful. -- T.E.D. -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum