Re: [fpc-pascal] A rather good blog post on Object Pascal that I thought you folks might enjoy

2023-01-18 Thread Abuy via fpc-pascal
Lazy post. Bad writing. Could be better. On 18.01.2023 11:36, Liam Proven via fpc-pascal wrote: Why Object Pascal is More Than Meets the Eye: Exploring the Power and Versatility of Delphi and FreePascal https://blog.rosseaux.net/post/a346cfec6211430a62c28e765710954d/Why_Object_Pascal_is_More_Th

Re: [fpc-pascal] Code page for the Windows event viewer

2021-09-16 Thread Abuy via fpc-pascal
No change. On 16.09.2021 13:28, Tomas Hajny via fpc-pascal wrote: On 2021-09-15 16:09, Abuy via fpc-pascal wrote: UnicodeString change only look of symbols (instead of quastion marks this — Іівівйц ГђВ№ вфівфъ2цву йцуцйівÑВ

Re: [fpc-pascal] Code page for the Windows event viewer

2021-09-15 Thread Abuy via fpc-pascal
: On 2021-09-15 15:08, Abuy via fpc-pascal wrote: Instead of cyrillic characters there some garbage in Windows event viewer. Have tried AnsiString with Windows-1251 code page (type StringCP1251 = type AnsiString(1251)) but this does not work. What works is RawByteString variable with the following

[fpc-pascal] Code page for the Windows event viewer

2021-09-15 Thread Abuy via fpc-pascal
Instead of cyrillic characters there some garbage in Windows event viewer. Have tried AnsiString with Windows-1251 code page (type StringCP1251 = type AnsiString(1251)) but this does not work. What works is RawByteString variable with the following conversion to Windows-1251. Here is code: {$

[fpc-pascal] How to create AnsiString with specific code page?

2021-09-15 Thread Abuy via fpc-pascal
I need string with Windows-1251. Tried var msg: AnsiString(1251) but this does not work. What I am doing now is var msg: rawbytestring; begin SetCodePage(msg, 1251, True); end. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists

Re: [fpc-pascal] How to use XMLCfg?

2021-08-09 Thread Abuy via fpc-pascal
can try demo at ../examples/xmlstreaming/.. It works here. V. __ > Od: "Abuy via fpc-pascal" > Komu: fpc-pascal@lists.freepascal.org > Datum: 07.08.2021 08:53 > Předmět: [fpc-pascal] How to use XMLCfg? >

[fpc-pascal] How to use XMLCfg?

2021-08-06 Thread Abuy via fpc-pascal
Tried Laz2_XMLCfg unit. Result is «Project createxml raised exception class 'External SIGSEGV'. In file 'C:\lazarus\components\lazutils\laz2_xmlcfg.pas' at line 165: Create(nil);». I guess it is all because author of this unit for some reson calling unexisting constructor from constructor TXMLC