Ok, but why does the memory dump below the text output show 16 bytes
(two rows of 8 zeroes) if the structure is truly made up of 8 bytes?
I followed the advice in your initial post and tried to find whatever
dependencies that JNAerator may be lacking so I downloaded Microsoft
Visual Studio and SDK and set the appropriate paths in JNAerator's
config. However, then JNAerator stopped complaining about missing
stdio.h, memory.h etc. but only generated 1 Library class with a few
constants and no structures or anything. When I set the WINDOWS_SDK
and VISUAL_STUDIO paths to erronous values, JNAerator complains that i
can't find those standard libraries but at least generates full
structures (except for a structure based on time_t in the sys/
time.h).
Anyway, so far I have at least learnt that Visual Studio Express is
available for free, which means I can give JNI a shot as well.