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

jasper van baten jasper at amsterchem.com
Tue May 8 17:41:46 CEST 2012


Both these DLLs are usually delay loaded, and are not a problem if they 
are not there. In addition, the message from regsvr32 says the DLL loads 
fine. So that is not the problem. The 32/64 bits issue pointed out by 
Allen may however be the problem,

Best wishes,

Jasper.

On 5/8/2012 17:27, allan.cornet at scilab.org wrote:
> Hi,
>
> Please notice that a 32 bit dll can be loaded only in a 32 bit 
> environment (Scilab 32 bit)
>
> A 64 bit scilab can not load a 32 bit dll
>
> Allan
>
> On Tue, 8 May 2012 08:18:58 -0700 (PDT), Thales Jacques wrote:
>> Jasper,
>>
>> I had to download the 2 dlls and then I got an error with sysntfy.dll.
>> Then I downloaded sysntfy.dll. All I am doing is leaving the files in 
>> the
>> same folder as my dll.
>> Now, when I run the Dependencies Walker, I get a CPU error with the 
>> DLL's I
>> downloaded (from 
>> http://www.dll-files.com/dllindex/dll-files.shtml?gpsvc)
>>
>> http://mailinglists.scilab.org/file/n3971627/Untitled.jpg
>>
>> I still get the same error on Scilab:
>>
>>
>> -->link('C:\Windows.old\Users\Thales\Desktop\Scilab\ahts\RkRechDll.dll','getVersion','c'); 
>>
>> link: The file 
>> C:\Windows.old\Users\Thales\Desktop\Scilab\ahts\RkRechDll.dll
>> does not exist.
>>
>>
>> !--error 236
>> link: The shared archive was not loaded: Unknown Error
>>
>>
>> I am starting to wonder if the instruction above is the correct way 
>> to call
>> a Delphi DLL in Scilab and if I need something special done with the 
>> DLL in
>> order to make it work inside Scilab.
>>
>> I guess to eliminate the dependencies alternative as a solution for the
>> problem I need to make sure the CPU64 can be changed to CPU32, but I 
>> am not
>> sure on how to do this.
>>
>> Ideas?
>>
>> -- 
>> View this message in context:
>>
>> http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p3971627.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/
>
>
> -- 
> 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/20120508/e1501446/attachment.htm>


More information about the users mailing list