Yes, it may be possible to use dll's in perl scripts. You'll
need Inline::C. With regard to your last two questions, it's
impossible to say - could be very hard or impossible... or
quite easy... Either way, this may be of interest to you:
How do I access Win32 DLL-s using Inline?