[plt-scheme] Using the FFI with a scheme aware dll
(require (lib "etc.ss"))
(this-expression-source-directory)
Going to try this out!
No,
D:\build\mzgtk2>mzscheme
Welcome to MzScheme version 350.1, Copyright (c) 2004-2006 PLT Scheme Inc.
> (find-system-path 'sys-dir)
#<path:C:\WINDOWS\system32>
> (find-system-path 'collects-path)
find-system-path: expects argument of type <system-path-symbol>; given
collects-path
=== context ===
repl-loop
>
I'm looking for d:/devel/mzscheme/lib (well, that's on my system).
--Hans
Eli Barzilay schreef:
> On Jun 28, Hans Oesterholt-Dijkema wrote:
>
>> A related question then:
>>
>> Why aren't there variables in mzscheme to be able to
>> determine the :
>>
>> * directory of a module the is being loaded.
>>
>
> (require (lib "etc.ss"))
> (this-expression-source-directory)
>
>
>
>> * the system library directory
>>
>
> Do you mean on of these:
>
> (current-library-collection-paths)
> (find-system-path 'collects-path)
> (find-system-path 'sys-dir)
>
>