Page 1 of 1
SQUARE in the result !
Posted: Wed Mar 18, 2009 3:34 pm
by mox
Code: Select all
wxURL url(wxT("http://google.com"));
wxInputStream *m3u=url.GetInputStream();
wxChar buffer[65536];
wxString message;
while(!m3u->Eof()){
m3u->Read(buffer, 65536);
message.Append(buffer);
}
WxMemo1->SetValue(message);
in the textCtrl i get square, but i need real text !
Re: SQUARE in the result !
Posted: Wed Mar 18, 2009 4:09 pm
by eranif
Hi Mox,
You are searching the answer in the wrong forum, try posting your question here:
http://wxforum.shadonet.com/
Eran
Re: SQUARE in the result !
Posted: Wed Mar 18, 2009 4:42 pm
by mox
I post here because problem in codelite !
Same code in wxdevc++ works fine, but i want use codelite like a main wxWidgets c++ IDE !
When i move my code into new codeliteProject i found that not work properly !
Re: SQUARE in the result !
Posted: Wed Mar 18, 2009 4:50 pm
by eranif
Again, this is not codelite problem but WX problem. The reason is probably due to unicode settings (codelite uses unicode, while I suspect your wxDev settings are not similar to codelite ones (maybe it uses ANSI))
Eran
Re: SQUARE in the result !
Posted: Wed Mar 18, 2009 6:18 pm
by mox
Ok.
I try compile without unicode key, without change.
But maybe you right: post in other forum !
Topic now can close !
Re: SQUARE in the result !
Posted: Wed Mar 18, 2009 6:50 pm
by mox
soved !