Re: set handle to NULL

John DeSoi <[email protected]> Fri, 16 Aug 2002 09:58:34 -0400
Newsgroups gmane.lisp.uffi.general
Message-ID <p05111b03b982b4f8e7bc@[192.168.1.7]>
>
>  > (setf newdb (uffi:allocate-foreign-object (:pointer isc-db-handle))
>
>Try,
>  (setf newdb (uffi:allocate-foreign-object isc-db-handle))
>Then
>   (setf (uffi:deref-pointer newdb) 0)
>like above
>
>(You can also try setting to zero using your original def-foreign-type
>of :pointer-void and see if that works)
>
>

Still no luck. Can you tell me more about what you mean in the last 
sentence above? Is there a way to zero the def-foreign-type return 
value? What would it look like?

Thanks again,

John DeSoi, Ph.D.