You could use XS (perlxs, perlxstut, ...) or Win32::API.
In reply to Re: win32 DLL from h2xs by ikegami in thread win32 DLL from h2xs returns error by sam01102005