2 messages in net.java.dev.jna.users[jna-users] Re: Incorrect read values...
FromSent OnAttachments
Stas OskinSep 2, 2008 11:52 am 
Stas OskinSep 3, 2008 2:14 am 
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: Incorrect read values from shared memoryActions...
From:Stas Oskin (stas@gmail.com)
Date:Sep 3, 2008 2:14:50 am
List:net.java.dev.jna.users

Hi.

The problem was in my code eventually.

Regards.

Hi.

I have an array of unsigned integers pair (timestamps - seconds and milliseconds) in Linux shared memory, going one after another. the integers are placed there by C++ daemon.

For some reason, JNA sees these integers pairs as repeating one after another (i.e. two pairs are the same) - while the daemon clearly places them in distinct fashion.

Everything else works fine.

Any idea what this could be?

Thanks.