DLL generation - Win32
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
there is some weird issue i can't quiete put my finger on, but the result is that the generated DLL is unusable.
FreePascal 1.1, 2003/02/07.
If i try to attach the 3 files, i cannot submit the bug report, so please consult http://www.elevillage.com/fpc_dll.zip for the sources.
Compiling this with Delphi will run correctly, commenting out all exports except apache_init also runs correctly. Compiling this as is, it will not be able to locate "apache_init" though.
A tdump of the dll does show the apache_init name correctly, but somehow fails to sort it correctly - if i manually sort the exports by name, and recompile all goes correct.
Apparently, the exported functions of a DLL require to be sorted alphabetically.
Additional information:
Reporter: Maarten Bekers
EMail: bugs-fpc at elebbs dot com
Mantis conversion info:
- Mantis ID: 4402
- OS: WIN32
- Version: 1.1.0
- Fixed in version: 1.9.3