9 messages in net.java.dev.jna.users[jna-users] Re: C++ StdCallFunctionMa...
FromSent OnAttachments
Ewan SlaterApr 8, 2008 10:45 am 
Timothy WallApr 8, 2008 11:15 am 
Paul MooreApr 8, 2008 11:50 am 
Albert StrasheimApr 8, 2008 1:26 pm 
Ewan SlaterApr 9, 2008 12:44 am 
Timothy WallApr 9, 2008 3:53 am 
Ewan SlaterApr 9, 2008 11:44 am 
Timothy WallApr 9, 2008 7:32 pm 
Timothy WallApr 9, 2008 7:32 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:[jna-users] Re: C++ StdCallFunctionMapperActions...
From:Ewan Slater (ewan@googlemail.com)
Date:Apr 9, 2008 11:44:03 am
List:net.java.dev.jna.users

Hi,

Overrode the getFunctionName method to print out what was coming back, and then added (hardcoded) the prefix "_" and suffix "@0", and then it works:

<output> StdCallFunctionMapper.getFunctionName() returned :fnJNICaller VisualCPPStdCallFunctionMapper.getFunctionName() returned :_fnJNICaller@0 </output>

Hope this helps.

Cheers,

Ewan