BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Newbie question: Pascal-Delphi

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Juan Vazquez
Guest





PostPosted: Sun Feb 06, 2005 11:37 pm    Post subject: Newbie question: Pascal-Delphi Reply with quote




Program migration from Pascal to Delphi ?

Regards to the newsgroup.

Excuse my sudden intromission into the group, but I know from my long
experience in these groups that there are a lot of people willing to help.

As I ceased to program several years ago I found myself in the situation
that my old programs are incompatible with Windows 98 and XP.

I have code written in 1995 to 97 under DOS, using Borland Turbo Pascal,
which running under Windows, create problems when they write data files on
to the fixed disk.

I'm having trouble when restarting my PC. I guess this is due to the
protection of the fixed disk by Windows.

Mi question is:

Is there a way of importing or converting my old codes into DELPHI ?

or

Shall I have to write them again ?

Thanks in advance.

Juan Vazquez

P.S.: I'm having the same problem with Quick Basic and Visual Basic.
Is there a way of importing or converting my old QBasic programs into Visual
Basic ?



Back to top
Juan Vazquez
Guest





PostPosted: Sun Feb 06, 2005 11:44 pm    Post subject: Re: Newbie question: Pascal-Delphi Reply with quote




I haven't found an answer in the Newsgroup FAQ.

--
To e-mail me delete the dot and substitute the _ by an "s".



Back to top
Nicholas Sherlock
Guest





PostPosted: Mon Feb 07, 2005 4:54 am    Post subject: Re: Newbie question: Pascal-Delphi Reply with quote



Juan Vazquez wrote:
Quote:
Program migration from Pascal to Delphi ?

Is there a way of importing or converting my old codes into DELPHI ?

Not automatically. Try going New->Console application. Find a CRT
replacement unit (google..) which will emulate your old DOS commands for
screen/file access, or learn a little about Delphi and rewrite them.

Cheers,
Nicholas Sherlock

Back to top
VBDis
Guest





PostPosted: Mon Feb 07, 2005 9:50 pm    Post subject: Re: Newbie question: Pascal-Delphi Reply with quote

Im Artikel <cu69jb$stt$1 (AT) newsreader (DOT) mailgate.org>, "Juan Vazquez"
<j.vazquez (AT) _emavenca (DOT) com> schreibt:

Quote:
I have code written in 1995 to 97 under DOS, using Borland Turbo Pascal,
which running under Windows, create problems when they write data files on
to the fixed disk.

What kind of problems?
Perhaps you have not the right to write to the directory?

Quote:
I'm having trouble when restarting my PC. I guess this is due to the
protection of the fixed disk by Windows.

Again, what kind of problems?

DoDi

Back to top
Juan Vazquez
Guest





PostPosted: Tue Feb 08, 2005 12:57 am    Post subject: Re: Newbie question: Pascal-Delphi Reply with quote

"VBDis" <vbdis (AT) aol (DOT) com> escribió en el mensaje
news:20050207165058.11648.00000029 (AT) mb-m11 (DOT) aol.com...
Quote:
Im Artikel <cu69jb$stt$1 (AT) newsreader (DOT) mailgate.org>, "Juan Vazquez"
[email]j.vazquez (AT) _emavenca (DOT) com[/email]> schreibt:
What kind of problems?
Perhaps you have not the right to write to the directory?

I'm having trouble when restarting my PC. I guess this is due to the
protection of the fixed disk by Windows.

Again, what kind of problems?


Thanks Nicholas and DoDi for your answers.

I checked where I'm sending my files to and they are been written on the
current directory. I understand Windows protect the fixed disk from being
written from non-Windows applications. Nevertheless the program does write
to the disk.

The problem: after running my program from Windows XP, the PC (Celeron 1.1
GHz, 256 Mb Ram) wouldn't restart at all. Black screen.

In a second try a Secure Mode would start (I'm translating from Spanish:
"Modo a prueba de fallos" or "Secure Mode" or "Fail proof mode").

There were several options: "Restart the PC with the last working
configuration" was one. Other was the "Fail proof mode", etc. Can't recall
all of them.

From the "Fail proof mode" I reinitiated the PC and everything came back to
normal.

I have not dared to run my old programs again :-/

In other PC (Pentium II, 300 Hz, 128 Mb Ram), running under Windows 98, the
PC started in the so called by me "Fail proof mode". Restarting from that
mode returned the PC to normality.

Any new suggestions DoDi ?

Shall I run my programs from the symbol of the System C:/ (XP) and from the
DOS mode (Restarting the Pentium II in DOS) ?

Thanks in advance.

JV

--
To e-mail me delete dot and substitute "_" by "s".




Back to top
korax1214@mailandnews.co.
Guest





PostPosted: Wed Feb 09, 2005 5:03 pm    Post subject: Re: Newbie question: Pascal-Delphi Reply with quote

Juan Vazquez wrote:
Quote:
In a second try a Secure Mode would start (I'm translating from
Spanish:
"Modo a prueba de fallos" or "Secure Mode" or "Fail proof mode").

That sounds to me like the mode which, in English-language Windows, is
called "Safe mode".


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.