When the SQL Anywhere .NET Data Provider is first loaded by a .NET application (usually when making a database connection using SAConnection), it unloads a DLL that contains the provider's unmanaged code. The file dbdata.dll is placed in a directory by the provider 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.
Discuss this page in DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|