Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-01

I need help on old units

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Schalk Sevenster

I just got Freepascal.
I can't get my old Turbo Pascal 7.0 units to work with the new Freepascal. Can you please help me. I am not on the mailing list, so please send me the email. ()

I try to use my old units. For instance my old mouse unit: I copy my old MOUSE.TPU to the Freepascal directories and subdirectories. Then, as usual, I typed:
<uses mouse;> The compiler returned "Can't find unit MOUSE" So I used my old MOUSE.PAS unit to compile it through Freepascal. That compiled successfully.
Now when I want to use the above newly created unit (uses mouse), it returns "c:/pp/bin/go32v2/ld.exe: cannot open mouse.o: No such file or directory (ENOENT)"

I hope this is just some small problem - if this means that I can't possibly use my old units, I'm screwed.
Please help!
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply by email

Carlo Kok
to Schalk Sevenster

----- Original Message -----

Earlier message 33 lines
From: "Schalk Sevenster" To: Sent: Sunday, January 07, 2001 10:30 PM Subject: [fpc-pascal]I need help on old units > I just got Freepascal. > I can't get my old Turbo Pascal 7.0 units to work with the new Freepascal. > Can you please help me. I am not on the mailing list, so please send me the > email. () > > I try to use my old units. For instance my old mouse unit: I copy my old > MOUSE.TPU to the Freepascal directories and subdirectories. Then, as usual, > I typed: > <uses mouse;> The compiler returned "Can't find unit MOUSE" > So I used my old MOUSE.PAS unit to compile it through Freepascal. That > compiled successfully. > Now when I want to use the above newly created unit (uses mouse), it returns > "c:/pp/bin/go32v2/ld.exe: cannot open mouse.o: No such file or directory > (ENOENT)" > > I hope this is just some small problem - if this means that I can't possibly > use my old units, I'm screwed. > Please help! Don't use any old units that call interrupts or use mem*[] or port*[]. They don't work, or need changes before they work. Other old units do work, but you have to know that some types changed size (Integer was in TP/BP7 16 bits; in FPC 32 bits).

Reply by email