Closed GoogleCodeExporter closed 9 years ago
Hello,
You either need to include the appropriate headers or define WINAPI as an empty
macro (-DWINAPI=) or as some export modifier (-DWINAPI=__stdcall).
I suggest you read this thread for an example of including a Windows header
(WinReg.h) :
https://jna.dev.java.net/servlets/ReadMsg?list=users&msgNo=4165
For the UnsatisfiedLinkError, did you use the JNAerated loading code ?
NativeLibrary.getInstance(MyLibrary.JNA_LIBRARY_NAME,
MangledFunctionMapper.DEFAULT_OPTIONS)
If not, you'll need to use an StdCallFunctionMapper by yourself.
Cheers
Original comment by olivier.chafik@gmail.com
on 9 Aug 2010 at 9:31
Hi,
This issue moved to Github :
https://github.com/ochafik/nativelibs4java/issues/149
Thanks for not updating this page anymore and adding further comments on Github.
Cheers
--
zOlive
Original comment by olivier.chafik@gmail.com
on 1 Sep 2011 at 7:25
Original issue reported on code.google.com by
sameeh.h...@gmail.com
on 7 Aug 2010 at 11:02Attachments: