dlfcn-win32 / dlfcn-win32

Official dlfcn-win32 repo
MIT License
302 stars 94 forks source link

ERROR Non-library file %TEMP%\temp.dll was processed via WINAPI: 18 From line 138 #60

Open KOLANICH opened 5 years ago

KOLANICH commented 5 years ago

Windows 7, 32-bit The toolchain is https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/threads-posix/sjlj/i686-8.1.0-release-posix-sjlj-rt_v6-rev0.7z

traversaro commented 5 years ago

Hi @KOLANICH , can you provide the commands that you executed for generating this error? Thanks!

KOLANICH commented 5 years ago

Just built with cmake+ninja (configured using GUI) and executed the test file. Please note that path to temporary dir was replaced by %TEMP% manually in order to prevent disclosure of username, program output contained the path without any env variables.

pali commented 5 years ago

Error code 18 is ERROR_NO_MORE_FILES. So LoadLibraryA failed with error "There are no more files.". Which looks very strange.