Publish function LoadAddresses in unit sqlite3dyn
Original Reporter info from Mantis: Simon Ameis @SAmeis
-
Reporter name: Simon Ameis
Original Reporter info from Mantis: Simon Ameis @SAmeis
- Reporter name: Simon Ameis
Description:
The attached patch publishes the existing function LoadAdresses to the interface section of the unit so it is callable from other units.
Why to do so?
If you want to load a special library file from a non ASCII path on Windows (e.g. C:\äöü\sqlite3.dll), you can't use the function InitializeSqlite. In your own code you can use the Unicode Windows API to load the library but there is no easy way to to load the function addresses.
Alternative:
Provide a way to initialize this unit wiht a Unicode library file name.
Mantis conversion info:
- Mantis ID: 25481
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 26761 (#21526228)
- Target version: 2.6.4