From: "Michael Erdmann" <boavista@berlin.snafu.de>
Subject: Q: How to do memory access with gnat
Date: 1997/07/20
Date: 1997-07-20T00:00:00+00:00 [thread overview]
Message-ID: <easwuowobrigfij.pminews@boavista.berlin.snafu.de> (raw)
Hi
i like to do something like this in Ada95 (excuse the C-example):
typedef struct { ..,other_data; char data[1]; } Msg_data;
Msg_Data *shared;
// get some memory from the system
DosGetSharedMemory( ..., &shared... )
// copy data into shared memory
for( i ,,,, )
shared->data[i] := some_data[i];
In Ada95 i am not able to copy data from an Ada object into a some external
memory.
Any idea ?
next reply other threads:[~1997-07-20 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-20 0:00 Michael Erdmann [this message]
1997-07-20 0:00 ` Q: How to do memory access with gnat Tucker Taft
1997-07-20 0:00 ` Q: How to do memory access with gnat - os.ADB (0/1) Michael Erdmann
1997-07-20 0:00 ` Q: How to do memory access with gnat - OS.ADS (0/1) Michael Erdmann
1997-07-20 0:00 ` Q: How to do memory access with gnat - OS.ADS (1/1) Michael Erdmann
1997-07-20 0:00 ` Q: How to do memory access with gnat Samuel Tardieu
1997-07-20 0:00 ` Michael Erdmann
1997-07-22 0:00 ` Michael Erdmann
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox