Could not load .Net interface library bridge__.dll.

Look up an error message

Could not load .Net interface library bridge__.dll.

Postby Morten|Dyalog on Sat Sep 27, 2008 12:19 pm

The full error message is:

Could not load .Net interface library bridge__.dll. (Error 0x0000007e)

For Version 12.1 Unicode:

The default 12.1 Dyalog .Net interface path is:
C:\Program Files\Dyalog\Dyalog APL 12.1\bin\

If you installed to the default directory this path should be in your system path. Verify this by checking the PATH variable in Control Panel, System, Advanced, Environment Variables, System Variables.

Verify that the file bridge121_unicode.dll is in the above directory AND in the Global Assembly Cache (\windows\assembly).

For the Classic version, follow the above directions but omit the _unicode from the filename.

For Version 12.0:
You can either ensure that PATH contains the following environment variable and that the variable is set to the correct directory:

Or, you can ensure that the PATH contains the correct directory:
C:\Program Files\Dyalog\Dyalog APL 12.0\bin

For Version 11.0:
The bridge file is named bridge110.dll and is in C:\Program Files\Dyalog\Dyalog APL 11.0\bin

Diagnostic Test Function
A useful test function to test the ability to load the .Net interface library follows:

'LoadLibrary'⎕NA'u kernel32|LoadLibrary* <0T'
⎕NA'u kernel32|GetLastError'
'GetEnvironmentVariable'⎕NA'u kernel32|GetEnvironmentVariable* <0T >0T U'

r,←LoadLibrary⊂'C:\Program Files\Dyalog\Dyalog APL 12.1\bin\bridge121_unicode.dll'
r,←GetEnvironmentVariable'PATH' 4096 4096

A successful result for the LoadLibrary follows this pattern (where nnn are positive integers):
nnn 0 nnn 0 nnn Directories

If you still have problems loading our DLLs, please use the above function to generate data specific to your system.
Then, email
User avatar
Posts: 458
Joined: Tue Sep 09, 2008 3:52 pm

Return to Error Messages

Who is online

Users browsing this forum: No registered users and 1 guest