[scilab-Users] Re: Linking Delphi DLL with Scilab

jasper van baten jasper at amsterchem.com
Wed May 9 09:01:21 CEST 2012


Thales,

Are you sure the procedure is exported from the dll? Dependency viewer 
should be able to tell you.

Best wishes,

Jasper

On 5/8/2012 23:46, Thales Jacques wrote:
> Jasper/Allan,
>
> I got the DLL to successfully link by re-installing scilab scilab-5.3.3 32
> bits. Thank you for your help. Continuing the problem with the Scilab, here
> is what I am getting now:
>
> -->functions=["getVersion";"isReynoldsOk";"RKRech";];
>
> -->link('RkRechDll.dll',functions,'c')
> Shared archive loaded.
> Link done.
> RKRech is not an entry point.
>                                      !--error 235
> link: problem with one of the entry point.
>
> -->link("show")
> Number of entry points 2.
> Shared libraries :
> [ 0 ] : 1 library.
> Entry point isReynoldsOk in shared library 0.
> Entry point getVersion in shared library 0.
>   ans  =
>
>      0.
>
> -->link()
>   ans  =
>
> !isReynoldsOk  getVersion  !
>
> What is happening is that only 2 functions are being loaded. In fact,
> "RKRech" is a procedure while "getVersion" and "isReynoldsOk" are functions.
> So, looks like I can link the functions but not procedures (as defined by
> Delphi).
> Obsvioully, if I remove "RKRech" from the functions vector everything works
> just fine (no errors are returned).
>
> Do you know a way around it?
>
> Thank you.
>
> Thales.
>
> --
> View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p3972593.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
>
> --
> To unsubscribe from this mailing-list, please send an empty mail to
> users-unsubscribe at lists.scilab.org
> To check the archives of this mailing list, see
> http://mailinglists.scilab.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120509/6240fc78/attachment.htm>


More information about the users mailing list