Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2021-08

How to use XMLCfg?

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Abuy

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 TXMLConfig.Create. Does this unit & older XMLCfg actually works?

Reply by email

Vojtěch Čihák
to Abuy

Hi,
 
Laz2_.... are UTF8 versions and they works well.
Create(nil); means that instance has no owner.
(I have Lazarus 2.3.0, it is not on line 165 here).  
You can try demo at ../examples/xmlstreaming/.. It works here.  
V.
______________________________________________________________

Show quoted text 5 lines
Od: "Abuy via fpc-pascal" Komu: Datum: 07.08.2021 08:53 Předmět: [fpc-pascal] How to use XMLCfg?

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 TXMLConfig.Create. Does this unit & older XMLCfg actually works?

Reply by email

Abuy
to Vojtěch Čihák

In Windows 7 same code & same version of Lazarus & program works fine.

Vojtěch Čihák wrote 34 lines
Hi, Laz2_.... are UTF8 versions and they works well. Create(nil); means that instance has no owner. (I have Lazarus 2.3.0, it is not on line 165 here). You can try demo at ../examples/xmlstreaming/.. It works here. V. ______________________________________________________________ > Od: "Abuy via fpc-pascal" > Komu: > Datum: 07.08.2021 08:53 > Předmět: [fpc-pascal] How to use XMLCfg? > 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 TXMLConfig.Create. Does this unit & older XMLCfg actually works? _______________________________________________ fpc-pascal maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply by email