[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
the
> 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
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).








More information about the fpc-pascal mailing list