3 messages in net.java.dev.jna.users[jna-users] mapping question - c dll
FromSent OnAttachments
Willits, JeffreyFeb 16, 2009 12:01 pm 
Timothy WallFeb 16, 2009 2:03 pm 
Willits, JeffreyFeb 17, 2009 6:39 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] mapping question - c dllActions...
From:Willits, Jeffrey (will@mir.wustl.edu)
Date:Feb 16, 2009 12:01:36 pm
List:net.java.dev.jna.users

Hi, new to the list. I like the JNA package and have had very little troubles
getting it to work with general dlls that I have OR with dlls that I've written.
However, I'm attempting to access a third party dll. Unfortunately, the
functions in the dll are in the format: _<function>@<bytes>

instead of: <function>

On top of that, I don't have the ability to change the dll function names - not
defined properly with accessible names.

I saw that there is an InvocationMapper and a FunctionMapper, and it appears
that I should be able to use the FunctionMapper, but I'm not 100% sure how.

Are there any examples of attempting to access the functions of the form
_<function>@<bytes>?

Thanks, Jeff Willits