24 messages in net.java.dev.jna.usersRe: [jna-users] Re: Mapping Struct to...
FromSent OnAttachments
thex...@email.comNov 1, 2008 1:46 am 
Timothy WallNov 1, 2008 5:04 am 
thex...@email.comNov 1, 2008 8:40 am 
Timothy WallNov 1, 2008 11:14 am 
Timothy WallNov 1, 2008 11:17 am 
thex...@email.comNov 2, 2008 12:30 am 
Timothy WallNov 2, 2008 7:42 am 
thex...@email.comNov 3, 2008 2:02 am 
Timothy WallNov 3, 2008 3:49 am 
thex...@email.comNov 3, 2008 4:51 am 
Timothy WallNov 3, 2008 6:22 am 
thex...@email.comNov 3, 2008 7:47 am 
Timothy WallNov 3, 2008 8:21 am 
thex...@email.comNov 3, 2008 11:19 pm 
Timothy WallNov 4, 2008 5:33 am 
Timothy WallNov 4, 2008 5:34 am 
thex...@email.comNov 4, 2008 2:33 pm 
Timothy WallNov 5, 2008 5:44 am 
thex...@email.comNov 5, 2008 8:15 am 
Timothy WallNov 5, 2008 9:19 am 
thex...@email.comNov 5, 2008 3:22 pm 
Timothy WallNov 5, 2008 7:00 pm 
thex...@email.comNov 6, 2008 3:36 am 
thex...@email.comNov 6, 2008 10:55 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] Re: Mapping Struct to JavaActions...
From:Timothy Wall (twal@dev.java.net)
Date:Nov 5, 2008 9:19:52 am
List:net.java.dev.jna.users

Just trying to eliminate variables.

You should be able to target either dll simply by changing the name passed to the loadLibrary call, and pass the dll name as an argument to main. That ensures that the java environment is identical in both cases.

e.g.

Native.loadLibrary(test ? "fface-test" : "fface", ...);

If one works and the other doesn't, then there must be something peculiar about the fface dll.

On Nov 5, 2008, at 11:16 AM, thex@email.com wrote:

Hi Tim

What happens if you replace FFACE.dll in your C# test code with your test DLL?

The C# works properly with the Test2.dll. It returns the structure with the data

item.id=1970 index=30 count=38

Both the C# and the Test2.dll have been made with 2008 express editions of the equivalent suite. Does the way of production of a dll influence its behaviour?

Regards, Armin