Date sent: Thu, 18 Aug 2005 11:48:32 -0600
To: fpc-pascal@lists.freepascal.org
From: "Lowell C. Savage" <[EMAIL PROTECTED]>
Subject: Re: [fpc-pascal] Linking Pascal code to C/C++ static
libraries
under Windo
I would also have thought that with all the object formats that GCC emits,
that one of them would be the object format used by VC, in which case using
VC's linker would work.
However, I was able to get a DLL compiled that I could link up and run
(without getting an error that the DLL was missi
Marco, replying to me, wrote in part:
> The Problem:
>
> The problem is that I can't seem to figure out how to get FPC to link to
> static libraries. FPC's linker won't look for the "Wrapper.lib". It
> either wants "Wrapper.dll" or "Wrapper.lib.dll". I can compile wrapper.c
> to an object modu
>
> The Problem:
>
> The problem is that I can't seem to figure out how to get FPC to link to
> static libraries. FPC's linker won't look for the "Wrapper.lib". It
> either wants "Wrapper.dll" or "Wrapper.lib.dll". I can compile wrapper.c
> to an object module (in Visual C 6.0) and FPC will
Background:
I have an old DOS console program that I'm trying to resurrect to run on
Windows XP. There isn't much about the structure of the program that I
need (or want) to change. But the interfaces to hardware will have to
change. It uses the old "PORT" array to communicate to the Serial