8 messages in net.java.dev.jna.usersRe: [jna-users] Invoking WinINet Inte...
FromSent OnAttachments
Rogan DawesApr 28, 2008 9:39 am 
Albert StrasheimApr 28, 2008 1:04 pm 
Timothy WallApr 28, 2008 1:22 pm 
Rogan DawesApr 28, 2008 1:29 pm 
Rogan DawesApr 28, 2008 1:30 pm 
Timothy WallApr 28, 2008 1:45 pm 
Rogan DawesApr 28, 2008 3:21 pm 
Timothy WallApr 28, 2008 5:17 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:Re: [jna-users] Invoking WinINet InternetQueryOption/InternetSetOption?Actions...
From:Rogan Dawes (lis@dawes.za.net)
Date:Apr 28, 2008 1:30:44 pm
List:net.java.dev.jna.users

Albert Strasheim wrote:

Hello,

Hi folks,

I am trying to use JNA to control the Windows system-wide proxy settings.

My first guess would be that mapping of the structs might not be quite right.

Do you have a setup that allows you to run the C code? If so, you might want to make sure that your mapped structs and the original structs have the same sizes.

Cheers,

You are absolutely right. My structure is 24 bytes in Java, while it is only 20 bytes in C. I'm sure Timothy's advice is correct, but I lack the understanding of the library to be able to correct my Structure.

Rogan