comp.lang.ada
 help / color / mirror / Atom feed
From: "rcarnesiii" <reid_carnes@yahoo.com>
Subject: Unchecked_Conversion help needed
Date: Tue, 21 Dec 2004 16:22:01 -0500
Date: 2004-12-21T16:22:01-05:00	[thread overview]
Message-ID: <a955971604ef063ccd60264cdf2222de@localhost.talkaboutprogramming.com> (raw)

I used Ada many years ago and am now getting back into it. Here's my
problem, I have to applications and am sending messages between them.

Sending procedures function call
Send_Message
     (Partner => The_Handle,
      Message => Message(X)'Address,
      Bytes   => Message(X).Length,
      Message_Id => My_Message_Id);

On the receiving side my callback routine looks like this

Process_Message_From_Partner
            (Partner : Xxx.The_Handle;
             Message : in System.Address;
             Bytes   : in Positive;
             Message_Id : in Xxx.Message_Id) is

begin
  my code

end Process_Message_From_Partner;

What I would like to do is print out the message on the receiving side.

Is this possible using unchecked_conversion ?

Thanks


 




             reply	other threads:[~2004-12-21 21:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-21 21:22 rcarnesiii [this message]
2004-12-21 21:49 ` Unchecked_Conversion help needed rcarnesiii
2004-12-21 21:53 ` tmoran
2004-12-22  0:17   ` Jeffrey Carter
2004-12-22  5:41     ` Brian May
2004-12-23  0:32       ` Jeffrey Carter
2004-12-22  9:21 ` Adrien Plisson
  -- strict thread matches above, loose matches on Subject: below --
2004-12-22  3:29 Nick Roberts
2004-12-22  8:03 ` Jerome Hugues
2004-12-22  9:24   ` Pascal Obry
2004-12-22  9:55   ` Martin Krischik
2004-12-22 12:46     ` Pascal Obry
2004-12-22 14:14       ` Jerome Hugues
2004-12-22 14:30         ` Pascal Obry
2004-12-22 14:09     ` Jerome Hugues
2004-12-22 18:33       ` Martin Krischik
replies disabled

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