5 messages in net.java.dev.jna.usersRe: [jna-users] JNA: java.lang.Unsati...
FromSent OnAttachments
SriOct 16, 2007 11:44 am 
Timothy WallOct 16, 2007 11:58 am 
Albert StrasheimOct 16, 2007 1:09 pm 
Glick, Gene (GE Indust, Security)Oct 16, 2007 1:31 pm 
SriOct 16, 2007 3:07 pm 
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] JNA: java.lang.UnsatisfiedLinkError: Cannot locate function 'GetTimings'Actions...
From:Albert Strasheim (full@gmail.com)
Date:Oct 16, 2007 1:09:18 pm
List:net.java.dev.jna.users

Hello

On 10/16/07, Timothy Wall <twal@dev.java.net> wrote:

On Oct 16, 2007, at 2:45 PM, Sri wrote:

I am quite sure about the function name being 'GetTimings' coz I used StdCallFunctionMapper of JNA to get the native method name. The .dll is getting loaded fine, but it complains about function not being in the .dll .

Dump the symbols from the DLL and then you'll be sure. "nm", "objdump" work on linux, I don't recall offhand what you'd use for windows.

dumpbin /exports your.dll on the command line (make sure you use the Visual Studio Command Prompt so that all the paths are set up properly), or Depends if you prefer a graphical tool. Both should be included with the Platform SDK or any recent version of Visual Studio.

Regards,

Albert