3 messages in net.java.dev.jna.usersRE: [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:RE: [jna-users] mapping question - c dllActions...
From:Willits, Jeffrey (will@mir.wustl.edu)
Date:Feb 17, 2009 6:39:39 am
List:net.java.dev.jna.users

_______________________________________ From: Timothy Wall [twal@dev.java.net]

This is standard stdcall name mangling. The StdCallFunctionMapper will appropriately mangle for you. StdCallLibrary defines a constant, FUNCTION_MAPPER, that you can use when initializing your library as the function mapper option (OPTION_FUNCTION_MAPPER). See User32/ Kernel32 for examples of initializing a library with options.

Most excellent --- worked like a champ. Thanks!

I saw the StdCallLibrary, but tried to implement it incorrectly ... saw the
example codes and things just fell into place.

Jeff