os.link & NTFS 5

Neil Hodgson nhodgson at bigpond.net.au
Fri Dec 27 18:49:12 EST 2002


Martin v. Löwis:

> Because older Windows version will even refuse to start the binary if it
> contains a reference to a kernel32 or whatever entry point that isn't
> available in this system's kernel32.dll.

   Then link to it dynamically by calling GetModuleHandle + GetProcAddress
as is already done in Python where the absence of InterlockedCompareExchange
on Windows 95 is handled at run time.

   Neil





More information about the Python-list mailing list