[Ecls-list] map iterator
Goffioul Michael
goffioul at imec.be
Mon Nov 14 05:55:02 UTC 2005
> > "The application or DLL
> > C:\projects\lisp\elcs\msvc\enumerations\enumerations.system
> is not a
> > valid Windows image. Please check this against your
> installation diskette"
>
> The problem is that lisp FASL files can have any name. A lisp
> implementation must thus first try to load a file as binary
> and if this
> fails, load it as source. This mechanism is not required for specific
> file types ("lsp", "fas", "lisp"...) hence you only see the
> problem with
> *.system files.
I had the same problems with .asd files with ASDF. This is a Win32
specific problem with some specific file extensions that are
recognized by Windows, for which LoadLibrary produces such an error
dialog instead of simply returning NULL. Maybe in the case of *.system
file, Windows only looks at the first 3 letters of the extension SYS
and handles it differently. I made some trials when I got the problem
with .asd files and noticed it happened with that extension, but not
with others. So it's Win32-specific *and* extension-speficic.
The only solution I could think about at this time is the hack proposed
by Juanjo. I did exactly the same for .asd files and added the hack
in asdf.lsp such that it's available when ASDF package is loaded into
memory.
Michael.
More information about the ecl-devel
mailing list