⎕NA reports File Error 2

General APL language issues

⎕NA reports File Error 2

Postby markr on Sat Jul 08, 2017 1:27 am

I created a ⎕NA name as follows:

'SMA_03_Process_ASM' ⎕NA 'I4 C:\MASM Mx\SMA_03_Process\SMA_03_ASM|SMA_03_Process <I4 <I4 <I4 <I4 <I4'

The dll and procedure (entry point) are specified correctly because I have run this DLL outside of Dyalog APL from that location. However, Dyalog reports the following error when forming the NA name:

FILE ERROR 2 No such file or directory: Shared library could not be loaded ("The specified module could not be found.")

I used Dependency Walker to verify that this DLL has no dependencies. There are also no permission problems because "Everyone" has full permission.

Have I improperly formed my statement? Thanks for any help!

Mark
markr
 
Posts: 1
Joined: Mon Jun 26, 2017 5:08 pm
Location: Gig Harbor, WA

Re: ⎕NA reports File Error 2

Postby Vince|Dyalog on Mon Jul 10, 2017 8:25 am

Hi Mark,

Please email Dyalog Support with the following information:

What is the Build ID of the Dyalog that you are using?

'SMA_03_Process_ASM' ⎕NA 'I4 C:\MASM Mx\SMA_03_Process\SMA_03_ASM|SMA_03_Process <I4 <I4 <I4 <I4 <I4'

What is the programming language used to develop the SMA_03_ASM dll?

What is the C declaration of the SMA_03_Process_ASM function? And each of the arguments that it takes?

Regards,

Vince
Vince|Dyalog
 
Posts: 242
Joined: Wed Oct 01, 2008 9:39 am

Re: ⎕NA reports File Error 2

Postby Vince|Dyalog on Tue Jul 11, 2017 8:30 am

Update: we have found that the DLL is a 32-bit DLL. 32-bit DLLs can only be loaded by Dyalog 32-bit, so Mark will remake the DLL as a 64-bit DLL (as he is using Dyalog 64-bit).

Regards,

Vince
Vince|Dyalog
 
Posts: 242
Joined: Wed Oct 01, 2008 9:39 am


Return to Language

Who is online

Users browsing this forum: No registered users and 1 guest