comp.lang.ada
 help / color / mirror / Atom feed
* Problems with Activ Ada in Windows NT
@ 1997-10-16  0:00 Fabrizio Castrotorres
  1997-10-16  0:00 ` Keith Thompson
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrizio Castrotorres @ 1997-10-16  0:00 UTC (permalink / raw)



hi,
recently I started using the Activ Ada compiler for windows NT
This product is obsolete and unsupported, replaced by ObjectAda
which supports only Ada 95. The projects I need to work on require 
a compiler that supports ada 83 in its full capacity.

I started doing a program using the Old Windows 3.1 Activ Ada Compiler
When I got the NT version I took the source code and compiled it
with the NT version, it compiled with noerrors same as the other version
however when It write files to disk it does not print out the
same number of bytes.
It stops in the middle of a word and goes no further.
I have not changed the source code in any way.

What could be causing these incomplete file writings ?

Any help would be greatly appreciated.
Thank you





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

* Re: Problems with Activ Ada in Windows NT
  1997-10-16  0:00 Problems with Activ Ada in Windows NT Fabrizio Castrotorres
@ 1997-10-16  0:00 ` Keith Thompson
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Thompson @ 1997-10-16  0:00 UTC (permalink / raw)



Fabrizio Castrotorres (castroto@ece.rutgers.edu) wrote:
> recently I started using the Activ Ada compiler for windows NT
> This product is obsolete and unsupported, replaced by ObjectAda
> which supports only Ada 95. The projects I need to work on require 
> a compiler that supports ada 83 in its full capacity.

Ada 95 is very nearly 100% upward compatible with Ada 83.  I've heard
of one project consisting of several tens of thousands of lines of Ada
83 code that was ported to Ada 95 with no changes.  You should probably
consider obtaining a supported Ada 95 compiler for your projects.

> I started doing a program using the Old Windows 3.1 Activ Ada Compiler
> When I got the NT version I took the source code and compiled it
> with the NT version, it compiled with noerrors same as the other version
> however when It write files to disk it does not print out the
> same number of bytes.
> It stops in the middle of a word and goes no further.
> I have not changed the source code in any way.

We probably won't be able to help you without more detailed information.
How are you writing files to disk?  Direct_IO?  Sequential_IO?  Note that
the language doesn't specify exactly how the predefined I/O packages write
files to disk.  You *might* be seeing the effect of a slight change in
the internals of the I/O package you're using.  If you can read the file
using the same package used to write it, you're probably ok.  Are you
having problems with files written by an older version of your program?

(Note my new e-mail address.)

-- 
Keith Thompson (The_Other_Keith) kst@cts.com <*>
^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H
San Diego, California, USA
"Simba, you have forgotten me.  I am your father.  This is CNN." -- JEJ




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

end of thread, other threads:[~1997-10-16  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-16  0:00 Problems with Activ Ada in Windows NT Fabrizio Castrotorres
1997-10-16  0:00 ` Keith Thompson

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