Subject: Re: [ruby-ffi] Pointer to a struct - how to cast? |
From: Jeremy Voorhis |
Date: 5/20/10 12:19 PM |
To: ruby-ffi@googlegroups.com |
On Thu, May 20, 2010 at 12:37 PM, Jeremy Voorhis <jvoorhis@gmail.com> wrote:I'm not sure how to check that. If I do this:
> The code looks alright to me on first glance. Are you sure your pointer is
> valid?
puts "p: #{p}"
I get:
p: #<FFI::Pointer:0x4145ec0>
Is there a tool I could use to take a peek at that address? (I'm on Win7.)
Drew