Subject: [ruby-ffi] Re: unable to recreate a pointer |
From: Arvicco |
Date: 2/23/10 8:24 PM |
To: ruby-ffi |
Since HWND represents window handle (which is never used for pointer operations), I just declare it as :ulong and never bother to do any pointer gymnastics around it. Everything seems to work well with this approach so far. Regards, Arvicco On Feb 24, 12:49 am, rogerdpack <rogerdp...@gmail.com> wrote:
http://pastie.org/839395 I read in an HWND, attempt to copy it, and use the copy. However, the copy doesn't seem to work. Anyone have any insights here? Thanks. -rpIn this code: