MFC Bug or My Bug

2012-04-04  Source: Original Site  Category:C++ Network  Views:0 


I've written a very simple MFC Dialog Program
A dialog contain a OK Button and a edit control
then i write the following code

UINT TestThread(LPVOID lpParam)
CSocket s;
while (1) {

void CTestDialog::OnOK()

when the thread start, all things seems well, but when i want to shift another input method in the edit box, the mainthread is hang~

What's the problem in my code .
Any advice will be appreciate

Related articles
  • Please report bugs at 2014-01-10

    Some of you may be having issues with MySQL Migration Toolkit, and that is understandable, it is not production software yet. However, posting reports of bugs in this forum will not result in the bugs being fixed. If you encounter a problem that you

  • Ubuntu Report a bug ... bug? :P 2014-07-14

    I am here: "" When I go to submit the bug report I get this: "An error occurred." Well that doesn't help much. lol The form is all filled in. I used to do some beta testing for M$ so I know how to report b

  • MFC doc/view huge bug? 2013-07-19

    I have problem someone to help me please? I have MDI app. In CMyProgApp I must to force update of all CView. This can to be done by either CMyAppView::UpdateAppSetings(), or PostMessage(viewhwnd, WM_UPDATEAPPSETINGS....). I know way to do is "enumera

  • MFC app listbox drawing bug in XP? How to fix? 2014-01-04

    This is probably correct place for the thread? I have on program, it's a map editor of one game. It uses old MFC 6. It has listbox that contains 64x64 tiles. Click on link to see bug: (http://img199

  • MFC Bug or My Bug 2012-04-04

    I've written a very simple MFC Dialog Program A dialog contain a OK Button and a edit control then i write the following code UINT TestThread(LPVOID lpParam) { CSocket s; s.Create(0,SOCK_DGRAM); while (1) { //... Sleep(1000); } } void CTestDialog::On

  • MFC AppWizard - Code Gen Bug 2013-01-24

    A Trimed down MFC SDI (No Doc/View) app does not create the child view. This is a easy one to reproduce. - Create a new MFC AppWizard exe. - Step 1 : Choose SDI, Uncheck Doc/View Support - Step 2 : Default - Step 3 : Default - Step 4 : Uncheck Dockin

  • IS there a fix for this bug? MySQL Bugs: #2027: Error "Duplicate entry ... for key ..." where not expected 2012-02-25

    I was searhing the web and came across a thread that bore the some error that I;m seeing. "MySQL Bugs: #2027: Error "Duplicate entry ... for key ..." where not expected" Is there a fix for this bug? I'm runing version 4.1.9-win32 In need of quick ass

  • Ubuntu How to report a bug in a bug reporter? 2012-04-14

    I have Ubuntu 8.04 on my acer5920G T7300 and sometimes I'd like to run the bug report application or the 'report a problem..." from system tools. None of both is working for me. When I launch the "bug report tool" it says: "Either --appname or --pack

  • Ubuntu HAL bug or kernel bug: removing a card vs removing a usb stick 2012-09-09

    when I insert a usb stick or a card into my card-reader, a new icon for the card/drive will appear on the desktop. Removing the usb stick will also make the icon disappear. On the other hand, removing the card from the card reader doesn't seems to no

  • Ubuntu Where to report bug if my bug reporting system crashes? 2012-11-23

    Everyday, nearly once every second reboot i get a few app crashes, cant report it, the reporting manager crashes, where to report manually as i know the steps what crashed it and the app that crashed or do i goto the bug site and find the app and rep

  • How to distinguish the bug's status in the MySQL bugs statistics ( 2013-02-20

    There are many of status in the MySQL bug-tracking system. (including Open、Closed、Duplicate、Analyzing、Verified、In progress、Patch pending、In review、Patch approved、 Documenting、Need Doc Info、To be fixed later,Won't fix、Can't repeat、No Feedback、Need Fee

  • my bug report is bugging 2013-05-15

    yea well my new here but learinng fast and i made a bug report that can of course be used for other things to but. i don't get any error but the file dosen't get created.. <? $error = 0; unset($gm_1); unset($gm_2); unset($gm_3); unset($gm_4); unse

  • Ubuntu Bug report tool bug! 2013-10-30

    When I open the Bug Report Tool, I see this: When I open Report a Problem, I see the loading cursor and Opening Report a Problem, but nothing happens. Is this a bug or is it just my sy

  • [Bug] MySQLInstanceConfig.exe bug 2014-01-09

    Well i do not really know if i consider it as a bug but i just installed MySQL Server 5.0 (public) and installed it. Following it will be the Configuration. However, whenever i tried to do so, it comes up with the error Code: The application has fail

  • Ubuntu kenerl bugs or xorg bugs?? 2014-01-28

    i dowload the ubuntu dapper and xubuntu dapper burned them cdrom but i got system freeze after i install the system in the harddisk,just "dead",keyborad and mounse both no response Then i try the xubuntu ,same problems,espeically when i max maximize

  • Bug or no bug? 2014-02-18

    This isn't really a code critique request, but I think there is some purism needed for this question. Sorry if you think otherwise. Please observe the following script: <?php @ob_end_flush(); // to be sure function fake1( $string ){ echo "kaas ".$

  • Vista Bugs VS Ubuntu Bugs 2014-02-28

    Vista Ultimate ($259.99 @ best buy) Note: Compare Home Edition to Ultimate, it's a landslide. Ubuntu Gutsy (FREE - hourish download @ broadband) Note: get a free hard copy of Gutsy in the mail. Did I say free already? Man, free is starting to SOUND g

  • Ubuntu Weird Runescape HD Mouse Bug (Java OpenGL bug) 2014-11-08

    Runescape HD comes so close to perfectly working. There's just one problem. In HD (which it enters the mode fine, and runs it smoothly BTW), when I hover my mouse over something, it doesn't get highlighted like normal. This seems like a minor and ign

  • Oracle [BUG] Enterprise manager bug doing a meta-data import 2015-01-21

    I've found a bug in enterprise manager that causes meta-data imports to fail. So here's my step-by-step guide to reproduce this bug. So, in Enterprise Manager Maintenance -> Import from Database Select: Import Schema Select a remote DB link Valid

  • IE.6? 3px bug? + html bug? I dont get it 2015-03-23

    I want a floated div(left) and another div next to it with no gap. Works in Firefox. IE there is a 3 pixel gap. Yes I have looked at the 3 pixel bug documentation: But it does not help me. *******