Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - 日本語

Please note that the recommended version of Scilab is 6.0.2. This page might be outdated.
See the recommended documentation of this function

Manual Scilab >> Link Dinâmico/incremental > dllinfo

dllinfo

provides information about the format and symbols provided in executable and DLL files (Windows).

Calling Sequence

infolist = dllinfo(filename,option)

Arguments

filename

a string : a filename .dll or .exe file

option

a string : 'machine' , 'exports' , 'imports'

infolist

a list :

infolist(1) : a string : name of dll or executable.

infolist(2) : a string matrix : symbols (imported or exported) or machine type (x86 or x64).

Description

This tool provides information about the format and symbols (imported or exported) provided in executable and DLL files.

This tool is based on dumpbin.exe. A tool provided with Visual studio SDK.

Examples

if getos() == 'Windows' then
  filename = SCI+'\bin\libscilab.dll';

  dllinfolist = dllinfo(filename,'machine');
  printf('Machine destination of %s: %s\n',dllinfolist(1),dllinfolist(2));

  dllinfolist = dllinfo(filename,'imports');
  printf('Dlls dependencies of %s:\n',filename);
  for i=1:size(dllinfolist)
    printf('%s\n',dllinfolist(i)(1));
  end

  dllinfolist = dllinfo(filename,'exports');
  printf('Dll exports of %s:\n',filename);
  disp(dllinfolist);
end

Authors

Allan CORNET

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:24:43 CET 2011