7 messages in net.java.dev.jna.users[jna-users] ClassLoaders and jnidispatch
FromSent OnAttachments
Donszelmann MarkJun 18, 2009 7:12 am 
Timothy WallJun 18, 2009 7:41 am 
Donszelmann MarkJun 18, 2009 9:15 am 
Timothy WallJun 18, 2009 9:43 am 
LYou...@gkservices.comJun 18, 2009 10:30 am.sig
LYou...@gkservices.comJun 18, 2009 10:31 am.sig
Donszelmann MarkJun 21, 2009 6:19 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] ClassLoaders and jnidispatchActions...
From:Donszelmann Mark (Mark@slac.stanford.edu)
Date:Jun 18, 2009 7:12:09 am
List:net.java.dev.jna.users

Hi

we seem to have a problem loading jnidispatch.dll for the second time.

Reason is (probably) that the classloader that loads the first jna classes gets trashed.

The second classloader tries to find jnidispatch (which we have on our PATH) and does not find it.

Is this at all possible (to load jnidispatch twice), or should we make sure we load jnidispatch from a class loaded by the systemclassloader, and if so, how ?

Regards Mark Donszelmann