Question: how to import dll in visual studio code?
Answer: in Visual studio, add the .lib generated in Linker-Input-additional. Dependencies add the path of linker->general->additional library directories. Put the .dll in the path where your .exe is running.