How to work with multiple version of GDAL on windows os

Dear @ABraun

Actually I had problem that I mentioned here;

I tried to solve it by downloading below file from Esri:

legdb_api_vs2013_1_4.zip
which includes:

then I unzipped it and put its files in:

C:\ProgramData\Anaconda3\envs\mysnap\Lib\site-packages\osgeo
Then I run the code by using: python filename.py

I got below error:

ERROR 1: Can’t load requested DLL: C:\ProgramData\Anaconda3\envs\mysnap\lib\site-packages\osgeo\gdalplugins\ogr_FileGDB.dll
126: The specified module could not be found.

ERROR 1: Can’t load requested DLL: C:\ProgramData\Anaconda3\envs\mysnap\lib\site-packages\osgeo\gdalplugins\ogr_FileGDB.dll
126: The specified module could not be found.

I tried to import the dll directly by following codes based on your suggestion here:

**import ctypes **
dll=ctypes.WinDLL(“C:\ProgramData\Anaconda3\envs\mysnap\Lib\site-packages\osgeo\gdalplugins\ogr_FileGDB.dll”)

but again I got below error:

Traceback (most recent call last):
File “main.py”, line 5, in
dll=ctypes.WinDLL(“C:\ProgramData\Anaconda3\envs\mysnap\Lib\site-packages\osgeo\gdalplugins\ogr_FileGDB.dll”)
File “C:\ProgramData\Anaconda3\envs\mysnap\lib\ctypes_init_.py”, line 366, in init

I do not know what is the solution?