Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.0 - 日本語

Change language to:
English - Français - Português - Русский

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

Scilab help >> Dynamic/incremental Link > 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\api_scilab.dll";

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

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

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

See Also

  • addinter — new functions interface dynamic link at run time.
  • link — dynamic linker
  • ilib_compile — ilib_build utility: executes the Makefile produced by ilib_gen_Make
  • ilib_gen_Make — utility for ilib_build: produces a Makefile for building shared libraries
  • ilib_gen_gateway — utility for ilib_build, generates a gateway file.
  • ilib_gen_loader — utility for ilib_build: generates a loader file
  • ilib_for_link — utility for shared library management with link
Report an issue
<< configure_msvc Dynamic/incremental Link findmsifortcompiler >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:40:38 CEST 2012