How to load and use dll file in PHP?

Hi,

Anyone have experiences on loading and calling functions from .dll using php?
I need to read data from a card reader device and integrate with my PHP. I did a little googling from the web and i could not find any useful tips. Please give some hints if you have any ideas.

Thank you.

Best regards

You can try php-ffi
http://pecl.php.net/package-info.php?package=ffi