Posts Tagged ‘DLL’

Quick-Tip: 3 Ways to Load Ctypes in Python

  1. cdll()
  2. windll()
  3. oledll()

python-300x187

DLL, SO, COM; Windows + Linux

DLL = Dynamically Linked Libraries (Windows)

SO = Shared Objects (Linux)
COM = Component Object Model functions (Microsoft); HRESULT error codes come from here
Example:
msvcrt.dll is located in C:\WINDOWS\System32 in Windows and
libc.so.6 is located in  /lib in Linux
Both contain printf() from the C runtime