Subject | Loading Client Library |
---|---|
Author | Alan McDonald |
Post date | 2007-01-02T02:39:49Z |
Is there any reason why the openclientlibrary is NOT made public?
// This was a sub-procedure of AcquireOriginalHooks but Delphi6 (at least)
// does not like it, so made it external - but not public!
function OpenClientLibrary(libname: PChar): boolean;
For use with IBOAdmin where not client library has been opened by
IB_Connection attempt, an exception is raised. But if you make a "dummy"
connection to a database, the lib is loaded and use of the security service
can continue without exception. If I could manually load the lib before
attempting service manager connection, then the client lib exception would
not occur and a dummy database connection would not be required.
regards
Alan McDonald
// This was a sub-procedure of AcquireOriginalHooks but Delphi6 (at least)
// does not like it, so made it external - but not public!
function OpenClientLibrary(libname: PChar): boolean;
For use with IBOAdmin where not client library has been opened by
IB_Connection attempt, an exception is raised. But if you make a "dummy"
connection to a database, the lib is loaded and use of the security service
can continue without exception. If I could manually load the lib before
attempting service manager connection, then the client lib exception would
not occur and a dummy database connection would not be required.
regards
Alan McDonald