2 messages in net.java.dev.jna.usersGet value of peer attribute (Pointer ...
FromSent OnAttachments
Fabien MeurisseFeb 6, 2008 8:33 am 
Timothy WallFeb 6, 2008 12:21 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Get value of peer attribute (Pointer class)Actions...
From:Fabien Meurisse (fabi@gmail.com)
Date:Feb 6, 2008 8:33:05 am
List:net.java.dev.jna.users

I need to get the value of the peer attribute of the Pointer class.

I get a point on an HDC with the following code:

HWND hwnd = *new* HWND(); hwnd.setPointer(Native.*getComponentPointer*(*this*)); HDC dc_l = *user32*.GetDC(hwnd);

Now I want to pass the peer value of HDC to another API. How can I do ?