[fpc-pascal] Access fpc libraries with Java ?

Alan Krause alank at shermanloan.com
Tue Apr 1 00:24:08 CEST 2014


I have absolutely *no* idea where I got it - only that it works as
advertised.

Alan

------------------------------
Alan L. Krause Jr.alank at 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_cool at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140331/3b1c9c61/attachment.html>


More information about the fpc-pascal mailing list