Hello
Does delay-loading work with 32bit executables? In the following example it crashes for me on the dll_function() call. I've used i686-6.3.0-release-win32-dwarf-rt_v5-rev1.7z for my tests. app.c: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< __declspec(dllimport) void dll_function( void ); int main( void ) { dll_function(); return 0; } >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> dll.c: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< #include <stdio.h> __declspec(dllexport) void dll_function( void ) { printf( "success\n" ); } >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> $ gcc -O0 -g -shared -odll.dll dll.c -Wl,--output-def,dll.def $ dlltool -d dll.def -y dll.a -D dll.dll $ gcc -O0 -g -oapp.exe app.c dll.a Regards Domani Hannes ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public