All Manuals > LispWorks Foreign Language Interface User Guide and Reference Manual > 5 Function and Macro Reference

NextPrevUpTopContentsIndex

connected-module-pathname

Function
Summary

Returns the real pathname of a connected module.

Package

fli

Signature

connected-module-pathname name => pathname

Arguments

name

A string or symbol.

Values

pathname

A pathname or nil .

Description

The function connected-module-pathname returns the real pathname of the connected module registered with name name.

If no module name is registered, or if the module name is not connected, then connected-module-pathname returns nil .

Example
(fli:connected-module-pathname "gdi32")
=>
#P"C:/WINNT/system32/GDI32.dll"
 
(fli:register-module :user-dll
                     :real-name "user32"
                     :connection-style :immediate)
=> 
:user-dll
 
(fli:connected-module-pathname :user-dll)
=>
#P"C:/WINNT/system32/USER32.dll"
 
(fli:disconnect-module :user-dll)
=>
t
 
(fli:connected-module-pathname :user-dll)
=>
nil
See also

disconnect-module
register-module


LispWorks Foreign Language Interface User Guide and Reference Manual - 7 Dec 2011

NextPrevUpTopContentsIndex