Re: [fpc-pascal] Non-Latin (non-English) identifiers for COM automation

2013-06-21 Thread Sven Barth
On 21.06.2013 09:01, Max Vlasov wrote: Hi, is it possible for fpc to allow using non-english characters for symbols when COM-automation is used? An accountant-related application very popular here in Russia mostly uses Cyrillic symbols for naming methods and properties of their OLE Object. They

Re: [fpc-pascal] Re: SQLdb: TMSSQLConnection: using Instance name in Host

2013-06-21 Thread Marcos Douglas
On Fri, Jun 21, 2013 at 4:08 PM, Marcos Douglas wrote: > On Fri, Jun 21, 2013 at 3:59 PM, Ludo Brands wrote: >> On 06/21/2013 08:01 PM, Marcos Douglas wrote: >> >>> Worked but I have another problem: >>> To connect in DB of my client I need to pass the Application Name parameter. >>> I tried to u

Re: [fpc-pascal] Re: SQLdb: TMSSQLConnection: using Instance name in Host

2013-06-21 Thread Marcos Douglas
On Fri, Jun 21, 2013 at 3:59 PM, Ludo Brands wrote: > On 06/21/2013 08:01 PM, Marcos Douglas wrote: > >> Worked but I have another problem: >> To connect in DB of my client I need to pass the Application Name parameter. >> I tried to use Params property but didn't worked so, I changed the mssqlcon

Re: [fpc-pascal] Re: SQLdb: TMSSQLConnection: using Instance name in Host

2013-06-21 Thread Ludo Brands
On 06/21/2013 08:01 PM, Marcos Douglas wrote: > Worked but I have another problem: > To connect in DB of my client I need to pass the Application Name parameter. > I tried to use Params property but didn't worked so, I changed the mssqlconn: > > dbsetlname(FDBLogin, PChar('MyApp'), DBSETAPP); >

Re: [fpc-pascal] Re: SQLdb: TMSSQLConnection: using Instance name in Host

2013-06-21 Thread Marcos Douglas
On Fri, Jun 21, 2013 at 2:25 PM, Ludo Brands wrote: > On 06/21/2013 04:14 PM, Marcos Douglas wrote: >> On Fri, Jun 21, 2013 at 10:38 AM, Marcos Douglas wrote: >>> Hi, >>> >>> Is possible to use "instance name" in host connection like bellow? >>> server001\instanceABC >>> >>> I'm using FPC 2.6.2 >

Re: [fpc-pascal] Re: SQLdb: TMSSQLConnection: using Instance name in Host

2013-06-21 Thread Ludo Brands
On 06/21/2013 04:14 PM, Marcos Douglas wrote: > On Fri, Jun 21, 2013 at 10:38 AM, Marcos Douglas wrote: >> Hi, >> >> Is possible to use "instance name" in host connection like bellow? >> server001\instanceABC >> >> I'm using FPC 2.6.2 >> >> Thanks, >> Marcos Douglas > > The error is: > Error 2000

Re: [fpc-pascal] Re: SQLdb: TMSSQLConnection: using Instance name in Host

2013-06-21 Thread Marcos Douglas
On Fri, Jun 21, 2013 at 11:16 AM, Michael Van Canneyt wrote: > > > On Fri, 21 Jun 2013, Marcos Douglas wrote: > >> On Fri, Jun 21, 2013 at 10:38 AM, Marcos Douglas wrote: >>> >>> Hi, >>> >>> Is possible to use "instance name" in host connection like bellow? >>> server001\instanceABC >>> >>> I'm u

Re: [fpc-pascal] SQLdb: TMSSQLConnection: using Instance name in Host

2013-06-21 Thread Marcos Douglas
On Fri, Jun 21, 2013 at 11:10 AM, Michael Van Canneyt wrote: > > > On Fri, 21 Jun 2013, Marcos Douglas wrote: > >> Hi, >> >> Is possible to use "instance name" in host connection like bellow? >> server001\instanceABC > > > Small linguistic remark: it is below, not bellow :-) > > To bellow is somet

Re: [fpc-pascal] Re: SQLdb: TMSSQLConnection: using Instance name in Host

2013-06-21 Thread Michael Van Canneyt
On Fri, 21 Jun 2013, Marcos Douglas wrote: On Fri, Jun 21, 2013 at 10:38 AM, Marcos Douglas wrote: Hi, Is possible to use "instance name" in host connection like bellow? server001\instanceABC I'm using FPC 2.6.2 Thanks, Marcos Douglas The error is: Error 20002 Adaptive Server connection

[fpc-pascal] Re: SQLdb: TMSSQLConnection: using Instance name in Host

2013-06-21 Thread Marcos Douglas
On Fri, Jun 21, 2013 at 10:38 AM, Marcos Douglas wrote: > Hi, > > Is possible to use "instance name" in host connection like bellow? > server001\instanceABC > > I'm using FPC 2.6.2 > > Thanks, > Marcos Douglas The error is: Error 20002 Adaptive Server connection failed I found some links, but I

Re: [fpc-pascal] SQLdb: TMSSQLConnection: using Instance name in Host

2013-06-21 Thread Michael Van Canneyt
On Fri, 21 Jun 2013, Marcos Douglas wrote: Hi, Is possible to use "instance name" in host connection like bellow? server001\instanceABC Small linguistic remark: it is below, not bellow :-) To bellow is something quite different :) That said: it should be possible, SQLDB passes the string

[fpc-pascal] SQLdb: TMSSQLConnection: using Instance name in Host

2013-06-21 Thread Marcos Douglas
Hi, Is possible to use "instance name" in host connection like bellow? server001\instanceABC I'm using FPC 2.6.2 Thanks, Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to save a huge XML?

2013-06-21 Thread Marcos Douglas
On Fri, Jun 21, 2013 at 9:57 AM, waldo kitty wrote: > On 6/20/2013 17:34, Marcos Douglas wrote: >> >> On Wed, Jun 19, 2013 at 12:57 PM, Graeme Geldenhuys >> wrote: >>> >>> Your only [sane] alternative would then be to NOT use TXMLDocument, pray >>> >>> that your XML format isn't too complex, the

Re: [fpc-pascal] How to save a huge XML?

2013-06-21 Thread waldo kitty
On 6/20/2013 17:34, Marcos Douglas wrote: On Wed, Jun 19, 2013 at 12:57 PM, Graeme Geldenhuys wrote: Your only [sane] alternative would then be to NOT use TXMLDocument, pray that your XML format isn't too complex, then use TFileStream (or something similar), and generate the XML lines one by o

[fpc-pascal] Non-Latin (non-English) identifiers for COM automation

2013-06-21 Thread Max Vlasov
Hi, is it possible for fpc to allow using non-english characters for symbols when COM-automation is used? An accountant-related application very popular here in Russia mostly uses Cyrillic symbols for naming methods and properties of their OLE Object. They probably have English counterparts, but t