As a last resort you could convert this:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1543
although I believe it can be done without a DLL.
http://www.blitzbasic.com/codearcs/codearcs.php?code=1543
although I believe it can be done without a DLL.