I have absolutely *no* idea where I got it - only that it works as advertised.
Alan ------------------------------ Alan L. Krause jr.al...@shermanloan.com*Manager of Software Development*Voice: (760) 634-1700Sherman and Associates, Inc. <http://www.shermanloan.com/>Fax: (760) 634-1992 On Mon, Mar 31, 2014 at 9:16 AM, leledumbo <leledumbo_c...@yahoo.co.id>wrote: > > Here is a somewhat dated version of JNI.pas for FPC which might help you > out. > > So now we have 3 JNI.pas wrapper... > I don't see any disclaimer, doc, changelog, whatsoever. Where do you get > it? > Also, if you don't mind, update the dirty > > {$ifdef mswindows}stdcall;{$else}cdecl;{$endif} > > with: > > {$macro on} > {$ifdef mswindows} > {$define jnicall:=stdcall} > {$else} > {$define jnicall:=cdecl} > {$endif} > > once before all declarations, and you can simply use jnicall; as calling > convention modifier
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal