[twsocket] OT: Failed TortoiseSVN upgrade, missing Create New VM

2010-08-06 Thread Angus Robertson - Magenta Systems Ltd
If you upgrade to the latest TortoiseSVN release, 1.6.10 or 1.6.9, after install and reboot you'll find Windows Explorer is missing all the context menu options, so SVN does not work. This is due to an MSI problem, and the solution is to run the installer a second time, use the Repair button, an

[twsocket] DNS Problem

2010-08-06 Thread Eric Fleming Bonilha
Hello all I believe I have posted the same question some years ago but I can´t remember and find it What could cause the following thing: I have several instances (More than 20) of TWSocket (TCP Client), running all on the same thread (Secondary thread, not main thread). Each instance will co

Re: [twsocket] Found a bug and made a fix in function UrlDecode

2010-08-06 Thread Arno Garrels
Bjørnar, > Arno, > >> The only workaround that comes to my mind was another overload that >> takes >> a RawByteString instead of string. I won't use AnsiString because >> implicit ansi string casts must be avoided too. > > That would work for me. I'm not very familiar with the use of > RawByte

Re: [twsocket] Found a bug and made a fix in function UrlDecode

2010-08-06 Thread Bjørnar Nielsen
Arno, > The only workaround that comes to my mind was another overload that takes > a RawByteString instead of string. I won't use AnsiString because implicit > ansi string > casts must be avoided too. That would work for me. I'm not very familiar with the use of RawByteString, but I made ver

Re: [twsocket] Found a bug and made a fix in function UrlDecode

2010-08-06 Thread Arno Garrels
Bjørnar Nielsen wrote: > Arno, > >> Would you expect a correct result as well if you base64-decoded a >> quoted-printable encoded string? > > No, I agree. But the problem is not the decoding itself but the way > Unicode-chars and Ansi-chars are treated. > This is the line where the problem lies

Re: [twsocket] Found a bug and made a fix in function UrlDecode

2010-08-06 Thread Bjørnar Nielsen
Arno, > Would you expect a correct result as well if you base64-decoded a > quoted-printable encoded string? No, I agree. But the problem is not the decoding itself but the way Unicode-chars and Ansi-chars are treated. This is the line where the problem lies: MyAnsichar := AnsiChar(UnicodeUrl[I