Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-26 Thread Paul
Stringlist, TStrings and ...) Paul - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 24, 2008 7:54 AM Subject: Re: [twsocket] D2009 and ICS V6 Ansi I'm planning to upgrade to D2009 for the unicode UI

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 AnsiString where an

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-26 Thread Arno Garrels
the UnicodeString to Ansi with default system code page CP_ACP) -- Arno Paul - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 24, 2008 7:54 AM Subject: Re: [twsocket] D2009 and ICS V6 Ansi I'm

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 spent many

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 Paul
: [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 strings for something which is not really a string. I think he is concerned about

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-26 Thread Arno Garrels
Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, September 26, 2008 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

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-24 Thread Paul
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 twsocket@elists.org Sent: Tuesday, September 23, 2008 11:18 PM Subject: Re: [twsocket] D2009 and ICS V6 Ansi Paul wrote: I'm planning

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-24 Thread Arno Garrels
support D2009. -- Arno Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, September 23, 2008 11:18 PM Subject: Re: [twsocket] D2009 and ICS V6 Ansi Paul wrote: I'm planning to upgrade to D2009

[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

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

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'll