[fpc-pascal]I need help on old units

Carlo Kok ckok.1 at hccnet.nl
Mon Jan 8 10:26:13 CET 2001

----- Original Message -----
From: "Schalk Sevenster" <sewemax at hotmail.com>
To: <fpc-pascal at lists.freepascal.org>
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
> email.  (Sewemax at hotmail.com)
> 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
> 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
> "c:/pp/bin/go32v2/ld.exe: cannot open mouse.o: No such file or directory
> I hope this is just some small problem - if this means that I can't
> 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).

More information about the fpc-pascal mailing list