[fpc-pascal] Create and use a wrapper class in java

patspiper patspiper at gmail.com
Sun Apr 27 21:40:21 CEST 2014


On 27/04/14 16:06, fredvs wrote:
> Hello wonderful fpc people.
>
> Hum, i want to create a Java wrapper class to access some fpc Java native
> libraries.
> I have already asked it everywhere, looking in all Java doc, but... without
> luck.
>
> Here the unique answer i get (from codeguru.com)
>
> =>
> http://forums.codeguru.com/showthread.php?544463-Create-and-use-a-wrapper-class-in-java&p=2151435#post2151435
>
> But that answer is not working (see my last post in codeguru.com).
>
> How to do it or where to search help (and get a working example) ?

It seems java thinks your main is in TheWrapper class. Did you put each 
class in a separate file?

Stephano



More information about the fpc-pascal mailing list