Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-26 Thread Arno Garrels
hanks, > > Paul > > > - Original Message - > From: "Francois Piette" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Friday, September 26, 2008 1:26 PM > Subject: Re: [twsocket] D2009 and ICS V6 Ansi > > >>>> Usual

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-26 Thread Paul
008 1:26 PM Subject: Re: [twsocket] D2009 and ICS V6 Ansi >> > Usually, a program can be recompiled with Delphi 2009 with no change >> > and > it >> > works ! Changes are needed if your code assume chars are byte values > (sizeof >> > / length) or use str

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-26 Thread Francois Piette
> > Usually, a program can be recompiled with Delphi 2009 with no change and it > > works ! Changes are needed if your code assume chars are byte values (sizeof > > / length) or use strings for something which is not really a string. > I think he is concerned about the fact that the property being

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-26 Thread Angus Robertson - Magenta Systems Ltd
> yes, but HttpCli.Url is a string, which would be a unicodestring in > D2009. > The only option is to change all "String" to "AnsiString" and > "PChar" to "PAnsiChar" in ICS V6. > Probably others too (fi Stringlist, TStrings and ...) ICS V6 is not supported under Delphi 2009. Arno and Francois

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-26 Thread Arno Garrels
16) function SendStr(const Str : UnicodeString) : Integer; overload; virtual; ( Converts the UnicodeString to Ansi with default system code page CP_ACP) -- Arno > Paul > > > - Original Message - > From: "Francois PIETTE" <[EMAIL PROTECTED]> > To:

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-26 Thread Olivier Sannier
Francois Piette wrote: >>> In D2009 the type "string" is mapped to UnicodeString. If you want ansi >>> string, just use type AnsiString. >>> > > >> yes, but HttpCli.Url is a string, which would be a unicodestring in D2009. >> > > This doesn't cause any problem. You can pass an AnsiSt

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-26 Thread Francois Piette
> > In D2009 the type "string" is mapped to UnicodeString. If you want ansi > > string, just use type AnsiString. > yes, but HttpCli.Url is a string, which would be a unicodestring in D2009. This doesn't cause any problem. You can pass an AnsiString where an UnicodeString is requested. The compil

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-26 Thread Paul
ot; to "PAnsiChar" in ICS V6. Probably others too (fi Stringlist, TStrings and ...) Paul - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, September 24, 2008 7:54 AM Subject: Re: [twsock

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-24 Thread Arno Garrels
07. It will probably take a while until all vendors support D2009. -- Arno > > Paul > > > - Original Message - > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Tuesday, September 23, 2008 11:18 PM > S

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-24 Thread Paul
wouldn't that give a confilct between client (unicode) and server (ansi) ? Paul - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, September 24, 2008 7:54 AM Subject: Re: [twsocket] D2009 and ICS V

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-24 Thread Paul
ohibited to use beta software, so ICS V7 is not an option for me. Paul - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, September 23, 2008 11:18 PM Subject: Re: [twsocket] D2009 and ICS V6 Ansi > Paul

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-23 Thread Francois PIETTE
> I'm planning to upgrade to D2009 for the unicode UI. > However, I want all communications in Ansi. > How can this be done ? Just as usual. TWSocket.Send will send whatever you use. if you pass the address of an AnsiString, then you'll send ansi. If you pass the address of a UnicodeString you'l

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-23 Thread Arno Garrels
Paul wrote: > I'm planning to upgrade to D2009 for the unicode UI. Yeah, D2009 rocks :-) > However, I want all communications in Ansi. > How can this be done ? Simply by sending and receiving ANSI data exclusively ;-) Seriously, I do not understand this question. -- Arno Garrels -- To unsubs

[twsocket] D2009 and ICS V6 Ansi

2008-09-23 Thread Paul
I'm planning to upgrade to D2009 for the unicode UI. However, I want all communications in Ansi. How can this be done ? thanks, Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http