So with a standard cpp compiler, my application links to the .lib file and then at runtime, as long as the dll is in the same folder as the executable, everything magically works..
But In python, what role does the .lib file serve? I understand you can use a dll's functions by using ctypes
from ctypes import*
dllHandle = cdll.LoadLibrary("C:\\filename.dll")
or
ctypes.WinDLL ("C:\\filename.dll")
But what is being lost by not using the .lib file? If it's not needed why is it necessary in cpp projects?