[fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

Andrew Brunner andrew.t.brunner at gmail.com
Tue Dec 23 23:31:46 CET 2008

I just installed fpc 2.2.3 and updated my links and re-built the so
and test app. And still had a problem with LoadLibrary returning 0.

So I went and downloaded the latest version of binutils (2.19) and compiled it.

Next, I rebuilt-Lazarus.

Then, I re opened the existing projects and built-all and still...
loadlibrary returned 0.

Next, I created a brand new Library Project and it worked perfectly
with the Classes and other things.

So, I'm up and running with an entirely different problem.  The 2.2.3
(2.2.2 fixes) edition seems to have a problem with arrays... I've got
a memory map of pointers based on the current processID.

TMemoryMap=Array[THandle] of Pointer.  This does work on Delphi.  But
it does not work on FPC.

On Tue, Dec 23, 2008 at 1:26 PM, Andrew Brunner
<andrew.t.brunner at gmail.com> wrote:
>> This is on Scientific Linux 5.2 (free distro based on Red Hat Enterprise
>> Linux 5.2). Are you sure that you are using 2.2.3 and not 2.3.1?
> Hi Jonas,
> Yes, I did use build 2.3.1 from SVN.  I'll try 2.2.3 build b/c I'm
> having so many different Issues with this one and re-post back.

More information about the fpc-pascal mailing list