Re: [fpc-pascal] Inconsistent results currency - extended ?

2014-05-03 Thread LacaK
Thankyou very much for your effort!Yes I compile with same version FPC 2.6.4, but important point is, that on *Windows 98*!When I compile on Windows XP, I get same results as you for

Re: [fpc-pascal] Java crash when fpc library CallVoidMethod in a thread.

2014-05-03 Thread fredvs
Did you use AttachCurrentThread and DetachCurrentThread? Oops, what is that ? How must i use it ? Pay attention to the validity of local references as well as their number. Idem, what is local references as well as their number. ? PS: Im a beginner with Java but, apart CallVoidMethod in

Re: [fpc-pascal] Java crash when fpc library CallVoidMethod in a thread.

2014-05-03 Thread fredvs
Posting some code might help. I may post code but not sure it will help. The code is the same as http://wiki.freepascal.org/Using_Pascal_Libraries_with_Java, section dealing with callback procedure ( but inside a thread). Hum, i would prefer some demo-working-code from somebody who knows how

[fpc-pascal] problem with the opengl unit

2014-05-03 Thread YuGiOhJCJ Mailing-List
Hello, I have built from source code the fpc-2.6.4 compiler on Linux. I am not sure that I have correctly build it because: 1) It works well with my hello_world.pas code: program Hello; begin writeln ('Hello, world.') end. $ fpc hello_world.pas Free Pascal Compiler version 2.6.4 [2014/05/03]

Re: [fpc-pascal] problem with the opengl unit

2014-05-03 Thread leledumbo
It does not work with my glut.pas code Do you use {$mode objfpc} or {$mode delphi}? ParamStr should return AnsiString instead of ShortString there, and it's convertible to PChar. Otherwise, you can cast the result to AnsiString first. P.S.: I don't recommend glut, not even freeglut, for

Re: [fpc-pascal] problem with the opengl unit

2014-05-03 Thread YuGiOhJCJ Mailing-List
I don't know if I use {$mode objfpc} or {$mode delphi}. How to know it? Strange that glut.pas is not correct because I have directly picked it from here: http://wiki.freepascal.org/OpenGL_Tutorial Is it an old tutorial? In CMakeLists.txt, nothing about GL: $ find . -name CMakeLists.txt -exec

[fpc-pascal] Castle Game Engine 5.0.0 release

2014-05-03 Thread Michalis Kamburelis
Hi everyone, We're proud to announce the release of Castle Game Engine 5.0.0 :) Castle Game Engine is an open-source (LGPL) 3D and 2D game engine, of course for modern Object Pascal (FreePascal / Lazarus). We support many 3D formats and various graphic effects. The main engine site, with