On Thu, 17 Feb 2011, Brian H. Oak wrote:
> For years now I've been using Win32::API::Prototype to access
> kernel32.dll and set up CreateHardLink() for use in a program.  But
> something in the upgrade from 32-bit 5.10 to 64-bit 5.12 is
> incompatible with Win32::API::Prototype.  Now I'm looking for an
> alternative method for creating hard links that works with 64-bit
> 5.12.  Does anyone know of a compatible module that provides this
> functionality?

Have you tried the link() builtin function?  It should call the
CreateHardLink() function internally.  I think I implemented it
back in the 5.004 or 5.005 days, with an compatibility hack
for Windows NT4, which doesn't have CreateHardLink().

Anyways, please let me know if it doesn't work; it is supposed
to do the right thing automatically.

Cheers,
-Jan

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to