4 messages in net.java.dev.jna.usersRe: [jna-users] How to create a point...
FromSent OnAttachments
Christine ZimmerJan 13, 2009 2:45 am 
Nikolas LotzJan 13, 2009 5:58 am 
Christine ZimmerJan 14, 2009 11:15 pm 
Nikolas LotzJan 15, 2009 2:41 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:Re: [jna-users] How to create a pointer from byte[]?Actions...
From:Nikolas Lotz (nlo@nde.ag)
Date:Jan 15, 2009 2:41:54 am
List:net.java.dev.jna.users

But now I have a new problem: after calling the native function my application terminates itself, no error message, no exception and no vm crash.

things you could try:

- make sure that no objects passed to the function are GC'ed before the call finishes by keeping a reference to them

- check stderr for exceptions that might have occured in the callback

- enable the VM crash protection: https://jna.dev.java.net/javadoc/com/sun/jna/Native.html#setProtected(boolean)

Vorsitzende des Aufsichtsrates: Angelika Mozdzen Sitz und Registergericht: Hamburg, HRB 90934 Vorstand: Jens-U. Mozdzen USt-IdNr. DE 814 013 983