comp.lang.ada
 help / color / mirror / Atom feed
* Help! Ada DLL dies on Text_IO.Open.
@ 2001-03-13 22:32 Paul Alderson
  2001-03-14  8:36 ` Pascal Obry
  2001-03-14 17:47 ` Paul Alderson
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Alderson @ 2001-03-13 22:32 UTC (permalink / raw)


Created a DLL using gnat Ada.
Wrote GUI in Microsoft Windows C++ version 6.
Loads OK and runs some code OK.
When I attempt to call Text_IO.Load it dies with a segmentation error.

Any ideas?

Thanks
Paul A. Alderson





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help! Ada DLL dies on Text_IO.Open.
  2001-03-13 22:32 Help! Ada DLL dies on Text_IO.Open Paul Alderson
@ 2001-03-14  8:36 ` Pascal Obry
  2001-03-14 17:47 ` Paul Alderson
  1 sibling, 0 replies; 3+ messages in thread
From: Pascal Obry @ 2001-03-14  8:36 UTC (permalink / raw)



"Paul Alderson" <paul.nospamalderson@avistainc.com> writes:

> Created a DLL using gnat Ada.
> Wrote GUI in Microsoft Windows C++ version 6.
> Loads OK and runs some code OK.
> When I attempt to call Text_IO.Load it dies with a segmentation error.

Check the GNAT documentation on how to do proper DLL elaboration...

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help! Ada DLL dies on Text_IO.Open.
  2001-03-13 22:32 Help! Ada DLL dies on Text_IO.Open Paul Alderson
  2001-03-14  8:36 ` Pascal Obry
@ 2001-03-14 17:47 ` Paul Alderson
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Alderson @ 2001-03-14 17:47 UTC (permalink / raw)


Never mind ....needed to call elab code from C first.


"Paul Alderson" <paul.nospamalderson@avistainc.com> wrote in message
news:zexr6.59$VH3.1048@client...
> Created a DLL using gnat Ada.
> Wrote GUI in Microsoft Windows C++ version 6.
> Loads OK and runs some code OK.
> When I attempt to call Text_IO.Load it dies with a segmentation error.
>
> Any ideas?
>
> Thanks
> Paul A. Alderson
>
>





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-03-14 17:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-13 22:32 Help! Ada DLL dies on Text_IO.Open Paul Alderson
2001-03-14  8:36 ` Pascal Obry
2001-03-14 17:47 ` Paul Alderson

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