Type: Posts; User: Cielak
Search took 0.03 seconds.
August 2nd, 2006, 05:05 AM
yes, it looks like terminal uses "terminal" and "lucida console" font, however the character set is probably "dos: western europe", so setting it to "lucida console" makes no difference, as unicode...
August 1st, 2006, 05:48 AM
i could not find this api though. what i found , someone said that in order to use '£' you should use unicode. this seems too much of a hassle to me, as i do programming only in english.
July 31st, 2006, 05:07 PM
Thank you for your time and info, which is a surprise to me, as i thought that "win32 console app" is a windows app, not dos, but it shows that it is true only partially ?
July 31st, 2006, 02:31 PM
thanks, it is quite a small project though.
July 31st, 2006, 08:09 AM
you mentioned that
"the '£' sign is character 163 (0x00A3)"
but according to the http://www.lookuptables.com/extend.gif - it is not.
so my system works exactly as table says, and this does not...
July 29th, 2006, 05:11 PM
it is like in the table. so this part is ok, i guess.
in IDE it works like in notepad; alt+163 is 'ú', as table says.
i can't see any console settings for that, is there a conf file ?
July 29th, 2006, 04:31 PM
left alt + num key 163 on my machine is 'ú'
left alt + num key 156 on my machine is '£'
above shows in any program( notepad, wordpad, pure console command line, with every font.
char c = 163;...
July 29th, 2006, 02:09 PM
163 on my machine is 'ú'
156 on my machine is '£'
i meant -100 is "£", because char is signed byte
July 29th, 2006, 10:47 AM
i forgot to add i am using VS6 sp6.
yes, i am in uk.
in both: "cmd.exe" and "command.com" the "£" is rendered correctly while shift + 3.
July 29th, 2006, 09:23 AM
i have tried. same result.
July 29th, 2006, 08:41 AM
hi all, when i try to
cout << "£";
it outputs a char 'u' with dash above ( code -93 ).
i found "£" code is -100, but it's awkaward to type "(char)-100" every time :-).
are there any project...
July 21st, 2006, 02:14 PM
yeap, the only m$ advantage is no competition at all.
July 15th, 2006, 02:00 PM
You are doing wrong using VS 2005. I can assure you this is only the tip of the iceberg what you are experiencing now. Drop it or you spend most time struggling with various bugs, not writing code.
July 13th, 2006, 08:18 AM
yes. what i do is:
all are worker threads
- in main thread:
i construct CSocket object on heap and declare equivalent SOCKET object
- in second thread:
declare CSocket pointer and point it...
Thanks all for explanations. My code constructs CSocket objects on heap and passes pointers to them between threads, so I reckon this is where the problem originates, however it does not hang if I...
i wish i could move to anything else than m$, however all recent development seems to point at m$ products, most examples on internet use m$ mfc as well, therefore i think i will stick to VS 6,...
the code below is partly based on various internet resources, partly my own. simply call the methods, passing them parameters to store return values.
i have always had SP6 and it still happens to me on very rare occasions on very simple code. no surprise though, it has been 8 years only since release of VS 6, so M$ did not have enough time to fix...
I can't believe it ! VS2005 Class View lacks "delete" option, so you can not remove variables and methods ! This option is present in VS 6 though, which was released almost a decade ago. Can not...
Another bug: after 1 h of editing in VS2005, a vertical scrollbar periodically fails, not allowing the whole file contents to be scrolled.
June 30th, 2006, 11:32 AM
Thank you for explanation, wildfrog. Various internet articles persuade you to place it in every thread, but I have noticed it causes real havoc, hanging application or even unresponsive windows...
June 29th, 2006, 02:25 PM
Hi, internet search reveals that AfxSocketInit() should be called in every thread. I am using CSocket for listening, sending, receiving in 2 worker threads and main thread. The program works most of...
June 24th, 2006, 06:03 PM
another funny issue, after about 1 h of programming in VS 2005 i found that i could not select text in editor any more and some previously selected text remained selected despite clicking all over....
June 24th, 2006, 11:34 AM
just checked it on another computer, full install and custom install, to make sure. unfortunately, this behaviour persist. just wondering how you may have got it right. i have professional edition...
June 24th, 2006, 10:24 AM
Ooops, I did not know that mfc network issues must be posted in this category. Now I know...
Thanks Mike again, that article turned to be a great help. Now I need to completely redesign everything...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.