When the SQL Anywhere .NET Data Provider is first loaded by a .NET application (usually when making a database connection using SAConnection), it unpacks a DLL that contains the provider's unmanaged code. The file dbdata12.dll is placed by the provider in a subdirectory of the directory identified using the following strategy.
The first directory it attempts to use for unloading is the one returned by the first of the following:
If the identified directory is inaccessible, then the provider will attempt to use the current working directory.
If the current working directory is inaccessible, then the provider will attempt to use the directory from where the application itself was loaded.
The subdirectory name will take the form of a GUID with a suffix including the version number, bitness of the DLL, and an index number used to guarantee uniqueness. The following is an example of a possible subdirectory name.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|