Commit Graph

16 Commits

Author SHA1 Message Date
svenbarth
6273192ce1 + Add a new overload to DynLibs to allow loading by Ordinal only. This needs specific operating system support however and will return Nil (using a default implementation) if ordinals are not supported.
+ Implement overload for the three supported Windows targets.

git-svn-id: trunk@26457 -
2014-01-14 15:23:55 +00:00
Jonas Maebe
3fdb3092af + defaultfilesystemcodepage support for dynlibs
+ unicodestring overloads for (safe)loadlibrary()

git-svn-id: branches/cpstrrtl@25162 -
2013-07-22 21:45:34 +00:00
michael
8eeb22720b * Added GetLoadErrorStr function by Mark Morgan Loyd (Bug ID 22321)
git-svn-id: trunk@21880 -
2012-07-11 15:31:09 +00:00
florian
859757003f * fix SafeLoadLibrary: fixed defines, sse control word should be stored as well
git-svn-id: trunk@18255 -
2011-08-18 08:37:15 +00:00
marco
88e22be01a * unmerged table based initialization of libraries.
git-svn-id: trunk@16941 -
2011-02-19 17:24:37 +00:00
sergei
cbdc08b641 * dynlibs.pas: added 'const' modifiers to eliminate unnecessary local string copies
git-svn-id: trunk@16366 -
2010-11-18 22:09:48 +00:00
ivost
4e39959ca1 * InitializeLibrary defaults now the parameter NoSymbolErrors to true and no longer to false. Now it's the same behavior as in 2.4.0 release. But of course it's not optimal and not safe.
* LoadLibrarySymbols report now all symbol errors and not just the first one. Eg. it try to load all symbols and don't stop on first error now.

git-svn-id: trunk@16269 -
2010-10-30 20:49:12 +00:00
ivost
8a25a5fbc7 * removed writeln call
* added some more comments

git-svn-id: trunk@15296 -
2010-05-19 11:26:09 +00:00
ivost
5604937bd4 * fixed #0016261
git-svn-id: trunk@15262 -
2010-05-12 20:41:00 +00:00
Tomas Hajny
5c31042f6a * SharedSuffix moved to include files to reduce number of ifdefs
git-svn-id: trunk@14902 -
2010-02-13 15:44:12 +00:00
ivost
a9150ebb8a * lib handler: default libraries can be changed now
git-svn-id: trunk@13995 -
2009-11-01 11:28:17 +00:00
ivost
3e16584155 * symbols are cleared now after unloading the library (ClearLibrarySymbols)
git-svn-id: trunk@13979 -
2009-10-30 13:42:49 +00:00
ivost
bd25e02096 * added some highlevel helper functions to load/unload dynamic libraries.
* initialize/release calls are refcounted. On loading, requested symbols are checked.

git-svn-id: trunk@13975 -
2009-10-30 13:16:13 +00:00
marco
03c02a17e9 * SharedSuffix
git-svn-id: trunk@10825 -
2008-04-27 20:33:33 +00:00
marco
9c45584938 * Safeloadlibrary
git-svn-id: trunk@7985 -
2007-07-09 08:07:42 +00:00
michael
d49ffdf543 * Renamed dynlibs.pas
git-svn-id: trunk@6613 -
2007-02-23 11:06:37 +00:00