MasterRed Posted May 20, 2007 Report Share Posted May 20, 2007 Hey,For a couple of minutes i had a look inside my Peer List while runningµTorrent ( v.1.61 build 490 ) ( also in BETA 1.7 ! *UPDATE*) , and I had to concider following problem by using the 'CopySelectedHosts' Function:My String which i pasted in Notepad looked like this:Well there are now 2 things to take notice of:1. The part of the String with this weird , for notepad not displayabel character which I highlighted with a red underline.2. And secondly that trough this 'bad clipboard copying' - action apearently glitch which makes the peers not listed like it should. The actually wanted effect should look like this inside notepad: X.X.X.X.cm.sunflower.com:55555 c-X-X-X-X.hsd1.md.comcast.net:42696Well the fix for this littel coding mistake shouldn´t be something hard to do.Just using "\n" as EscapeSequenze causes this Problem,so replace the "\n" at the end of the Input String with "\r\n" before you call SetClipboardData inisde your Copy Clipboard Function.Example: sprintf(szInputString,"%s\r\n",szHostName);Greets MasterRedPS. Thanks to the Programmers of µTorrent, i find your Torrent Clint pretty cool made. Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.