Re: [Harbour] Error BASE/1099 Argument error: STR

2010-04-30 Thread ivan re
Hi Viktor, I don't understand how to implement follow line > > > > Rather use -i option or point to xhb.hbc file. > > (or simply copy your sample to contrib/xhb/tests/ dir > > and issue hbmk2 from there) > > I also tried all the suggestions figure out but unfortunatly it doesn't work: The mistake

Re: [Harbour] Error BASE/1099 Argument error: STR

2010-04-28 Thread Viktor Szakáts
>> Anyhow not everything is fine with xhb xml support, >> as I'm getting memory corruption with the posted >> sample when trying it with mingw. It runs fine >> with msvc64. > > I have noticed quite a few fixes over recent years/months to the XML source > in xHarbour, it's possible that Harbour ha

Re: [Harbour] Error BASE/1099 Argument error: STR

2010-04-28 Thread Alex Strickland
Viktor Szakáts wrote: Anyhow not everything is fine with xhb xml support, as I'm getting memory corruption with the posted sample when trying it with mingw. It runs fine with msvc64. I have noticed quite a few fixes over recent years/months to the XML source in xHarbour, it's possible that Ha

Re: [Harbour] Error BASE/1099 Argument error: STR

2010-04-28 Thread Viktor Szakáts
>> >> // xml1.prg >> >> >> #include "/home/ivan/src/harbour/contrib/xhb/hbxml.ch" > > Rather use -i option or point to xhb.hbc file. > (or simply copy your sample to contrib/xhb/tests/ dir

Re: [Harbour] Error BASE/1099 Argument error: STR

2010-04-28 Thread Viktor Szakáts
Hi Paul, > If TXmlDocument( cString, HBXML_STYLE_NOESCAPE ) is a valid call, yet does > not produce a correct object (given that I probably haven't seen the code), > then can't TXmlDocument(...) check that :New is in the calling tree and > produce a decent error? (Sorry if I'm stating or overl

Re: [Harbour] Error BASE/1099 Argument error: STR

2010-04-28 Thread Paul Tucker
g or overlooked the obvious) Paul - Original Message - From: "Viktor Szakáts" To: "Harbour Project Main Developer List." Sent: Wednesday, April 28, 2010 1:58 PM Subject: Re: [Harbour] Error BASE/1099 Argument error: STR Hi, ///

Re: [Harbour] Error BASE/1099 Argument error: STR

2010-04-28 Thread Viktor Szakáts
Hi, > > // xml1.prg > > > #include "/home/ivan/src/harbour/contrib/xhb/hbxml.ch" Rather use -i option or point to xhb.hbc file. (or simply copy your sample to contrib/xhb/tests/ dir and i

Re: [Harbour] Error BASE/1099 Argument error: STR

2010-04-28 Thread ivan re
// xml1.prg #include "/home/ivan/src/harbour/contrib/xhb/hbxml.ch" function main() local cFile:="./test.xml", cString local cNote, cDiscount local oDoc, oBook, oIterator, oCurrent

Re: [Harbour] Error BASE/1099 Argument error: STR

2010-04-28 Thread Antonio Maniero
Please, post line 19 from your Main. []'s Maniero 2010/4/28 ivan re > > $ hbmk2 xml1.prg -lxhb -L/usr/local/lib/harbour > hbmk2: Processing configuration: /usr/bin/hbmk.cfg > Harbour 2.1.0beta1 (Rev. 14394) > Copyright (c) 1999-2010, http://www.harbour-project.org/ > > > Compiling 'xml1.prg'..

[Harbour] Error BASE/1099 Argument error: STR

2010-04-28 Thread ivan re
$ hbmk2 xml1.prg -lxhb -L/usr/local/lib/harbour hbmk2: Processing configuration: /usr/bin/hbmk.cfg Harbour 2.1.0beta1 (Rev. 14394) Copyright (c) 1999-2010, http://www.harbour-project.org/ Compiling 'xml1.prg'... Lines 168, Functions/Procedures 1 Generating C source output to '/tmp/xml1.c'... Done.