Subject | RE: [IBO] Sharing a connection between an exe and a DLL |
---|---|
Author | Jason Wharton |
Post date | 2006-05-18T05:56:58Z |
There was a problem in the last release regarding this that will be fixed in
the next sub-release.
It has to do with making it load the client dll on demand rather than in the
unit initialization.
What is happening is your DLL is making API calls before the API function
pointers are pulled out of the Firebird/InterBase Client DLL. The fix was
to add a check to load the client dll when a handle is assigned to the
dbHandle or dbHandleShared property.
Other than this problem, it should work fine as it did before.
Jason Wharton
the next sub-release.
It has to do with making it load the client dll on demand rather than in the
unit initialization.
What is happening is your DLL is making API calls before the API function
pointers are pulled out of the Firebird/InterBase Client DLL. The fix was
to add a check to load the client dll when a handle is assigned to the
dbHandle or dbHandleShared property.
Other than this problem, it should work fine as it did before.
Jason Wharton