CodeLite installation/troubleshooting forum
mox
CodeLite Curious
Posts: 7 Joined: Mon Mar 16, 2009 4:03 pm
Contact:
Post
by mox » Wed Mar 18, 2009 3:34 pm
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 !
eranif
CodeLite Plugin
Posts: 6375 Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by eranif » Wed Mar 18, 2009 4:09 pm
Hi Mox,
You are searching the answer in the wrong forum, try posting your question here:
http://wxforum.shadonet.com/
Eran
mox
CodeLite Curious
Posts: 7 Joined: Mon Mar 16, 2009 4:03 pm
Contact:
Post
by mox » Wed Mar 18, 2009 4:42 pm
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 !
eranif
CodeLite Plugin
Posts: 6375 Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by eranif » Wed Mar 18, 2009 4:50 pm
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
mox
CodeLite Curious
Posts: 7 Joined: Mon Mar 16, 2009 4:03 pm
Contact:
Post
by mox » Wed Mar 18, 2009 6:18 pm
Ok.
I try compile without unicode key, without change.
But maybe you right: post in other forum !
Topic now can close !
mox
CodeLite Curious
Posts: 7 Joined: Mon Mar 16, 2009 4:03 pm
Contact:
Post
by mox » Wed Mar 18, 2009 6:50 pm
soved !