Help- Problems running Borland Turbo Pascal V7 under windows 95 
Author Message
 Help- Problems running Borland Turbo Pascal V7 under windows 95

I have had trouble running the above version of turbo Pascal under
windows 95

When using the following piece of code to check wheter files are
initialised the first IOResult is always <>0 even if the file exists.

{$I-}
Reset(filename);
{$I}+
IF IOResult <> 0 THEN
  Rewrite(Filename);

With the second + File this operation works fine

Also when printing an error occurs when tring to assign to LPT1 using
code:

VAR
  Lst:Text;

BEGIN
......
 Assign(lst,'LPT1');
 ......
END;

These procedure work fine under windows 3.1 and dos (including DOS v7)



or write a reply to this newsgroup

Cheers
Matt



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Problems, Turbo Pascal 6 and Windows 95 (DOS mode)

2. Borland Pascal 7.0 - Debugger for Windows and Windows '95

3. WTB: Turbo Pascal (or Borland Pascal) v7 DOS

4. WTB: Turbo Pascal (or Borland Pascal) v7 DOS

5. Multiple CD drives, BP v7 and Windows 95

6. Runtime error 200 when running under Windows 95 / Windows NT

7. Turbo Pascal running under Win 95 Client from NT server

8. Borland Pascal 7 under windows 95

9. Borland Pascal 7 under windows 95

10. Turbo Pascal for Windows doesn't quite work w/ Win 95

11. cgi in turbo pascal or freepascal in windows 95

12. cgi in turbo pascal or console delphi for windows 95

 

 
Powered by phpBB® Forum Software