Direct shared library loading with ctypes varies by OS: Windows uses `ctypes.WinDLL` for `stdcall` conventions and automatically appends '.dll', while Linux and macOS use `ctypes.CDLL` for `cdecl` conventions, often requiring the full filename including '.so' or '.dylib' extensions. `ctypes.util.find_library` helps locate libraries portably.