Win32::API

Win32::API

am 22.09.2005 23:00:20 von jvc214

I can't get Win32::API to install under cygwin and I couldn't find much
on the web or groups about how to get it to install.

What is the best way to call a function in an external DLL? Is
Win32::API the only way?

Thanks,
Jim

Re: Win32::API

am 23.09.2005 00:48:27 von Sisyphus

wrote in message
news:1127422820.071194.90870@o13g2000cwo.googlegroups.com...
> I can't get Win32::API to install under cygwin and I couldn't find much
> on the web or groups about how to get it to install.

There's a version of Win32::API-0.21 that should build under Cygwin at:
http://www.risacher.org/Win32-API/

>
> What is the best way to call a function in an external DLL? Is
> Win32::API the only way?
>

You can also use Inline::C (which is the method I prefer). In 'perldoc
Inline::C-Cookbook' look for 'How do I access Win32 DLL-s using Inline?'.

Cheers,
Rob