<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Tahoma size=2><BR></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<P>It went all right with dynamic loading. "liknlib" gives me and error in
linking time. So I think runtime loading of dll is better. What I don't know
is what it's necessary rename functions with "_" at starting in Mac. Is it a
bug?<BR>Regards.<BR>Juan.</P></BLOCKQUOTE>
<DIV class=gmail_quote dir=ltr><SPAN class=812533917-07082011><FONT face=Arial
color=#0000ff size=2>It is not a bug. dlsym, the function used to find the
address assumes C type of function names which are prefixed with _. Pascal
doesn't prefix exported functions with _. See <A
href="http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/dlsym.3.html">http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/dlsym.3.html</A>,
down the page, notes.</FONT></SPAN></DIV>
<DIV class=gmail_quote dir=ltr><SPAN class=812533917-07082011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV class=gmail_quote dir=ltr><SPAN class=812533917-07082011><FONT face=Arial
color=#0000ff size=2>What is the error you are getting with {$linklib project1}?
The messages window doesn't show all messages. Click right on the messages
window and select "copy all shown and hidden messages to clipboard" or "Save all
messages to file" to get everything. </FONT></SPAN></DIV>
<DIV class=gmail_quote dir=ltr><SPAN class=812533917-07082011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV class=gmail_quote dir=ltr><SPAN class=812533917-07082011></SPAN><SPAN
class=812533917-07082011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=gmail_quote dir=ltr><SPAN class=812533917-07082011><FONT face=Arial
color=#0000ff size=2>Ludo</FONT></SPAN></DIV></BODY></HTML>