1 message in net.java.dev.jna.users[jna-users] RE: wnetaddconnection error
FromSent OnAttachments
Nadeema AjihilDec 18, 2007 10:44 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:[jna-users] RE: wnetaddconnection errorActions...
From:Nadeema Ajihil (aji@morson.jp)
Date:Dec 18, 2007 10:44:21 pm
List:net.java.dev.jna.users

DWORD should be mapped to int, in your structure you are mapping to long. You didn't sent the defintion of NetAddConnection2, but if you also mapped the parameter DWORD dwFlags to long dwFlags, you should fix that too. Thanks, Daniel

^ Thanks very much. It now works fine. Merry Christmas!