Sergey Startsev wrote:

Hello!

 I am trying to load two copies of sqlite.dll at one time.
 One - version 2.8.4, two - version 2.8.6

 handle1:= loadlibrary('c:\2.8.4\sqlite.dll');
 // this loaded OK

handle2:= loadlibrary('c:\custom\sqlite.dll');
// this return error
ERROR_NOACCESS (Invalid access to memory location)
Why I can't load two copies of sqlite.dll?


Because *windows* will not let you load the two copies of a dll with the same name - can't be done. Try renaming the dll, preferably with its version, e.g.

 handle1:= loadlibrary('c:\2.8.4\sqlite_2.8.4.dll');
 // this loaded OK

handle2:= loadlibrary('c:\custom\sqlite_custom.dll');




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to