CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Cielak

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    23
    Views
    3,604

    Re: British keyboard £ in console app

    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...
  2. Replies
    23
    Views
    3,604

    Re: British keyboard £ in console app

    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.
  3. Replies
    23
    Views
    3,604

    Re: British keyboard £ in console app

    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 ?
  4. Replies
    23
    Views
    3,604

    Re: British keyboard £ in console app

    thanks, it is quite a small project though.
  5. Replies
    23
    Views
    3,604

    Re: British keyboard £ in console app

    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...
  6. Replies
    23
    Views
    3,604

    Re: British keyboard £ in console app

    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 ?
  7. Replies
    23
    Views
    3,604

    Re: British keyboard £ in console app

    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 =...
  8. Replies
    23
    Views
    3,604

    Re: British keyboard £ in console app

    163 on my machine is 'ú'
    156 on my machine is '£'

    i meant -100 is "£", because char is signed byte
  9. Replies
    23
    Views
    3,604

    Re: British keyboard £ in console app

    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.
  10. Replies
    23
    Views
    3,604

    Re: British keyboard £ in console app

    i have tried. same result.
  11. Replies
    23
    Views
    3,604

    British keyboard £ in console app

    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...
  12. Replies
    17
    Views
    18,460

    Re: Mfc project bug in VS2005

    yeap, the only m$ advantage is no competition at all.
  13. Thread: Vc++2005

    by Cielak
    Replies
    7
    Views
    6,025

    Re: Vc++2005

    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.
  14. Re: AfxSocketInit() unnecessary for worker threads ?

    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...
  15. Re: AfxSocketInit() unnecessary for worker threads ?

    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...
  16. Replies
    17
    Views
    18,460

    Re: Mfc project bug in VS2005

    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,...
  17. Replies
    5
    Views
    1,319

    Re: Capturing IP Address

    the code below is partly based on various internet resources, partly my own. simply call the methods, passing them parameters to store return values.
    link: iphlpapi.lib
    stdafx.h: #include...
  18. Thread: IDE problems

    by Cielak
    Replies
    4
    Views
    942

    Re: IDE problems

    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...
  19. Replies
    17
    Views
    18,460

    Re: Mfc project bug in VS2005

    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...
  20. Replies
    17
    Views
    18,460

    Re: Mfc project bug in VS2005

    Another bug: after 1 h of editing in VS2005, a vertical scrollbar periodically fails, not allowing the whole file contents to be scrolled.
  21. Re: AfxSocketInit() unnecessary for worker threads ?

    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...
  22. AfxSocketInit() unnecessary for worker threads ?

    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...
  23. Replies
    17
    Views
    18,460

    Re: Mfc project bug in VS2005

    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....
  24. Replies
    17
    Views
    18,460

    Re: Mfc project bug in VS2005

    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...
  25. Replies
    6
    Views
    644

    Re: CAsynchSocket::Receive max value ?

    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...
Results 1 to 25 of 46
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured