comp.lang.ada
 help / color / mirror / Atom feed
From: Jerry <lanceboyle@qwest.net>
Subject: Re: Trouble writing Ada callback from C
Date: Wed, 16 Sep 2009 16:06:33 -0700 (PDT)
Date: 2009-09-16T16:06:33-07:00	[thread overview]
Message-ID: <acffc18f-0c67-4911-ac68-93fbb9f09a23@x25g2000prf.googlegroups.com> (raw)
In-Reply-To: e8f064a5-a6e4-487f-91e2-5c6b238a38f8@y42g2000yqb.googlegroups.com

On Sep 11, 10:46 pm, sjw <simon.j.wri...@mac.com> wrote:
> On Sep 12, 6:28 am, Jerry <lancebo...@qwest.net> wrote:
>
> > On Sep 11, 1:24 am, Ludovic Brenta <ludo...@ludovic-brenta.org> wrote:
> > > begin
> > >    Update (Item => label, Offset => 0, Str => To_C (Result), Check =>
> > > False);
> >       if Check and then Offset + Chars'Length  > Strlen (Item) then
> >          raise Update_Error;
> >       end if;
>
> Are you sure you called Update with Check => False?

I called it with Check => True. However, when I tried it with Check =>
False, I got the same error message. Interesting, Norman Cohen's book
says I should get a different error message with Check => False. I
didn't check ARM about the message, however.
Jerry



  reply	other threads:[~2009-09-16 23:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-11  7:57 Trouble writing Ada callback from C Jerry
2009-09-11  8:24 ` Ludovic Brenta
2009-09-11 20:38   ` sjw
2009-09-12  5:28   ` Jerry
2009-09-12  5:46     ` sjw
2009-09-16 23:06       ` Jerry [this message]
2009-09-12  8:44     ` Georg Bauhaus
2009-09-12 18:40 ` Vadim Godunko
2009-09-16 23:19   ` Jerry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox