Re: [Lazarus] High-DPI TImageList

2018-02-06 Thread Ondrej Pokorny via Lazarus
On 06.02.2018 7:00, Ondrej Pokorny via Lazarus wrote: On 05.02.2018 14:07, Werner Pamler via Lazarus wrote: The high-DPI imagelist adds a new entry to the lfm file, "BitmapAdv". Is this really absolutely necessary in all cases, for example if the imagelist contains only standard-resolution imag

[Lazarus] Internal error when compiling LCL

2018-02-06 Thread Lubos Pintes via Lazarus
Hello, During compilation of my project, I encountered this: win32wsmenus.pp(253,1) Error: Internal error 200611031 I didn't touch the mentioned file. FPC version is Free Pascal Compiler version 3.0.4 [2017/10/06] OS Windows 10, SVN trunk 57257 -- ___ L

Re: [Lazarus] Internal error when compiling LCL

2018-02-06 Thread Ondrej Pokorny via Lazarus
On 06.02.2018 10:34, Lubos Pintes via Lazarus wrote: Hello, During compilation of my project, I encountered this: win32wsmenus.pp(253,1) Error: Internal error 200611031 I didn't touch the mentioned file. FPC version is Free Pascal Compiler version 3.0.4 [2017/10/06] OS Windows 10, SVN trunk 57257

Re: [Lazarus] Internal error when compiling LCL

2018-02-06 Thread Lubos Pintes via Lazarus
This helped, thanks. Dňa 06.02.2018 o 10:36 Ondrej Pokorny via Lazarus napísal(a): On 06.02.2018 10:34, Lubos Pintes via Lazarus wrote: Hello, During compilation of my project, I encountered this: win32wsmenus.pp(253,1) Error: Internal error 200611031 I didn't touch the mentioned file. FPC versi

Re: [Lazarus] Windows Registry, how do I read data from rdExpandString

2018-02-06 Thread Bo Berglund via Lazarus
On Sun, 04 Feb 2018 20:44:03 +0100, Bo Berglund via Lazarus wrote: >So there is a case construct taht uses the data type reported on each >item, but I don't know what to do about rdExpandString. >In fact I don't know what kind of data may hide behind this data >type... What I want to know is how

Re: [Lazarus] Windows Registry, how do I read data from rdExpandString

2018-02-06 Thread Bo Berglund via Lazarus
On Tue, 06 Feb 2018 10:58:21 +0100, Bo Berglund via Lazarus wrote: >What I want to know is how to treat data of the type REG_EXPAND_SZ in >the registry when reading it. There are not that many such but for >completeness I want to be able to display these kinds of data too. If I use Reg.ReadStrin

Re: [Lazarus] High-DPI TImageList

2018-02-06 Thread Werner Pamler via Lazarus
Am 06.02.2018 um 07:00 schrieb Ondrej Pokorny via Lazarus: Lazarus is perfectly backwards compatible. E.g. If you want to support 1.6, write your demos in 1.6 -> 1.8 and 1.9 will open your project without problems. This is correct. But unrealistic. Even if I write a demo for 1.8 I must test i

Re: [Lazarus] Windows Registry, how do I read data from rdExpandString

2018-02-06 Thread Alexander Hofmann via Lazarus
Hi, as stated in the MSDN article you cited, the REG_EXPAND_SZ type is a hint to the API/API-User, that the string (stored as any other string either 2-byte or 1-byte depending in the Version) might contain environment variables, that need to be expanded before use. Respective M$ PowerShell, REG.

Re: [Lazarus] Internal error when compiling LCL

2018-02-06 Thread Bart via Lazarus
On Tue, Feb 6, 2018 at 10:34 AM, Lubos Pintes via Lazarus wrote: > win32wsmenus.pp(253,1) Error: Internal error 200611031 Yep, had that some days ago. I was working on an unrelated LCL unit and had to do a "make clean" to make it go away. This process repeated about 5 times. There already is a

[Lazarus] ppu's in wrong directory.

2018-02-06 Thread Donald Ziesig via Lazarus
I am working on updates to some free pascal database code.  In order to do this, I used fpcupdelux to download and build the entire app into a private folder so I don't mess up my normal installation. I made one change to db.pas (changed a private to protected) and re-compiled it and the IDE a

Re: [Lazarus] ppu's in wrong directory.

2018-02-06 Thread Mattias Gaertner via Lazarus
On Tue, 6 Feb 2018 18:14:32 -0500 Donald Ziesig via Lazarus wrote: >[...] > I made one change to db.pas (changed a private to protected) and > re-compiled it You must recompile all depending units as well. I recommend to rebuild the whole fpc. > and the IDE and my code.  After doing this, I a