os.link & NTFS 5

"Martin v. Löwis" martin at v.loewis.de
Fri Dec 27 18:10:20 EST 2002


Irmen de Jong wrote:
> So, why could the single binary not check the OS version and either call
> the CreateHardLink system call if it's supported, and throw an error when
> it isn't?

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.

Regards,
Martin





More information about the Python-list mailing list