<div dir="auto"><div dir="ltr">Hi all,<div><br></div><div>I am writing a C++ library with a C API that links to GDAL dynamically with LoadLibrary.</div><div></div><div>I would like to access the C API via Python and I have a few questions.</div><div><br></div><div>Currently the library compiled with MSVC and I was able to access some functions from python via SWIG but I didn't try to pass GDAL types back and forth.<br></div><div><br></div><div><div>1. How do I make my library open the same instance of GDAL dll that is used by the GDAL Python bindings?</div><div>2. Are the SWIG bindings written manually for every new C function or is there an semi/automated way to create it?</div><div></div></div><div>3. Is there an example for a library that creates gdal datasets in C/C++ and sends them to Python (or the other way around) to continue the process? any best practices? </div><div><div><br></div><div>Kind regards,</div><div>Idan</div><div></div></div><div><br></div><div><div></div><div></div><div></div></div></div></div>