<HTML>
<style> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }</style>I am writing a SANE binding for the Harbour language.&nbsp; sane_open returns a pointer to a SANE_Handle which needs to be used in subsequent calls.&nbsp; SANE_Handle is void *. I need to be able to pass this in both directions through my binding.&nbsp; Should I be casting the SANE_Handle to a ulong for this purpose?<br>
<br>
Thanks for any advice you can give<br>
 </HTML>