Re: [fpc-pascal] Linking Pascal code to C/C++ static libraries under Windows

2005-08-18 Thread Tomas Hajny
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 Windows Send reply

Re: [fpc-pascal] Linking Pascal code to C/C++ static libraries under Windows

2005-08-17 Thread Lowell C. Savage
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 module (in

[fpc-pascal] Linking Pascal code to C/C++ static libraries under Windows.

2005-08-16 Thread Lowell C. Savage
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