>> PS : ASAP, i will update the fpc wiki...
Done => http://wiki.freepascal.org/Using_Pascal_Libraries_with_Java
-
Many thanks ;-)
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Create-and-use-a-wrapper-class-in-java-tp5719072p5719082.html
Sent from the F
>> Just a guess here, but what command did you use to "run" the `main class`?
Yep, Ewald, you get it (and me too) :-)
It seems that, indeed, i used the wrong run-parameter.
And guess what... IT WORKS.
Ok, Java is now completely in the basket of fpc libraries.
Time to present to the lucky Java p
>> Something like `java test` of rather `java TheWrapper`?
I did first compile both class with* javac test *and *javac TheWrapper.* =>
ok, both compile without error...
Then i run *java test* and get the error message...
>> try to get the wrapper class working with something that simply prints
>>
On 27 Apr 2014, at 23:40, fredvs wrote:
> Hello Stephano.
>
>>> Did you put each class in a separate file?
>
> Yes, of course, it is the goal :
> => a separate wrapper class (TheWrapper.java), with all the methods defined
> to use the library,
> => and the main class (test.java) who uses that
Hello Stephano.
>> Did you put each class in a separate file?
Yes, of course, it is the goal :
=> a separate wrapper class (TheWrapper.java), with all the methods defined
to use the library,
=> and the main class (test.java) who uses that wrapper class.
So, the same wrapper class way be used by
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.