Re: [fpc-pascal] fppkg compiler upgrade

2015-11-23 Thread Mattias Gaertner
On Sun, 22 Nov 2015 20:55:14 -0700 (MST) leledumbo wrote: > > What is the proper way of upgrading fppkg? > > $ rm ~/.fppkg/config/default > > now rerun fppkg, it should create a new config. if it still shows 2.6.4, > that means your 3.1.1 is inaccessible or has

Re: [fpc-pascal] fppkg compiler upgrade

2015-11-23 Thread Michael Van Canneyt
On Mon, 23 Nov 2015, Mattias Gaertner wrote: On Sun, 22 Nov 2015 20:55:14 -0700 (MST) leledumbo wrote: What is the proper way of upgrading fppkg? $ rm ~/.fppkg/config/default now rerun fppkg, it should create a new config. if it still shows 2.6.4, that means

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-23 Thread Mark Morgan Lloyd
Bo Berglund wrote: - Version control We use CVS at our company since 14-15 years, so I installed cvsnt on the RPi in order to use that against our company server. I had done this on a Linux Mint 13 virtual machine earlier. Problem: With the Pi I did not manage to set up the VPN connection to

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-23 Thread Tomas Hajny
Hello everybody, Could we please stick to FPC related topics on this list? I don't think that VPN connectivity and discussion about version control systems fit this definition. Feel free to continue these discussions in the mailing list fpc-other. Thank you Tomas (one of FPC mailing list

Re: [fpc-pascal] Feature announcement: Generic functions, procedures and methods

2015-11-23 Thread Anthony Walter
Here is another test, a bit more complex. It fails when trying to pass a procedure reference to the Execute. This is a bit different than trying to get a reference to a generic routine. Routines like ControlMove and ShapeColor and not generic. {$mode delphi} type TForEach =

[fpc-pascal] FPC 3.x for Windows and code page conversion

2015-11-23 Thread Lubos Pintes
Hello, I am developing a console application which receives an UTF-8 encoded text through stdin. The text is, after possible modification, sent to SAPI5. The SAPI5 generated interface wrappers have parameters of type string. In FPC 2.6.4, I used UTF8toANSI on various places and that worked

Re: [fpc-pascal] FPC 3.x for Windows and code page conversion

2015-11-23 Thread Jonas Maebe
Lubos Pintes wrote on Mon, 23 Nov 2015: I am developing a console application which receives an UTF-8 encoded text through stdin. The text is, after possible modification, sent to SAPI5. The SAPI5 generated interface wrappers have parameters of type string. In FPC 2.6.4, I used UTF8toANSI

Re: [fpc-pascal] FPC 3.x for Windows and code page conversion

2015-11-23 Thread Mattias Gaertner
On Mon, 23 Nov 2015 16:43:18 +0100 Lubos Pintes wrote: > Hello, > I am developing a console application which receives an UTF-8 encoded > text through stdin. > The text is, after possible modification, sent to SAPI5. The SAPI5 > generated interface wrappers have

Re: [fpc-pascal] FPC 3.x for Windows and code page conversion

2015-11-23 Thread Michael Van Canneyt
On Mon, 23 Nov 2015, Lubos Pintes wrote: Hello, Thanks for replies, I will try to explain this in other way: My system code page is windows-1250. When a string is sent to a COM component, it is somehow converted to UTF-16. Thus FPC knows how to do the conversion. Now I know that I am