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.
{16AA8FB8-4A98-4757-B7A5-0FF22C0A6E33}_1201.x64_1 |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |