Click here to Skip to main content
15,892,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Trouble opening connection to serial port through "CreateFile" Pin
_anil_28-Mar-06 23:10
_anil_28-Mar-06 23:10 
GeneralRe: Trouble opening connection to serial port through "CreateFile" Pin
Ting Li Che29-Mar-06 2:35
Ting Li Che29-Mar-06 2:35 
AnswerRe: Trouble opening connection to serial port through "CreateFile" Pin
David Crow29-Mar-06 3:35
David Crow29-Mar-06 3:35 
QuestionSubClassWindow, a big confusion for me , I am almost about to cry Pin
yang__lee28-Mar-06 22:47
yang__lee28-Mar-06 22:47 
AnswerRe: SubClassWindow, a big confusion for me , I am almost about to cry Pin
Shoaib Patel28-Mar-06 22:53
Shoaib Patel28-Mar-06 22:53 
Question[Message Deleted] Pin
ddmcr28-Mar-06 22:44
ddmcr28-Mar-06 22:44 
AnswerRe: Check List Box - recommendations Pin
Ștefan-Mihai MOGA28-Mar-06 23:48
professionalȘtefan-Mihai MOGA28-Mar-06 23:48 
QuestionDestroyWindow is giving me a headache Pin
Waldermort28-Mar-06 22:29
Waldermort28-Mar-06 22:29 
I noticed this problem a few days ago, but so far I am coming up blank. Also I have been unable to recreate the problem in a scaled down application.

My main window is a dialog created with CreateDialog(), it contains quite a few controls, one of them being a simple EditBox. I am calling DestroyWindow() from WM_CLOSE and it is crashing the app with an "Access violation". Now it only crashes when Chinese charcters are in the mentioned EditBox, and not English. MBCS and UNICODE make no difference.

I have also tried using DialogBox() and EndDialog() yet I have the same problem. Now I should note, Chinese characters are displayed in ComboBoxes, ListViews and Static controls, causing no problems. This only happens when Chinese is typed into the control (using an IME) it does not occur when pasting characters. I have not tried this with any other IME or languages. This will only report an error or crash when running through the debbuger.

I am now going to convert this control to a RichEdit, hopefully the problem will go away. But if anybody has an idea about why or how this is happening I would be glad to know.
QuestionProblem With List Ctrl Pin
Mahesh Kulkarni28-Mar-06 22:29
Mahesh Kulkarni28-Mar-06 22:29 
AnswerRe: Problem With List Ctrl Pin
Rage28-Mar-06 22:33
professionalRage28-Mar-06 22:33 
GeneralRe: Problem With List Ctrl Pin
Mahesh Kulkarni28-Mar-06 22:40
Mahesh Kulkarni28-Mar-06 22:40 
GeneralRe: Problem With List Ctrl Pin
Ștefan-Mihai MOGA28-Mar-06 23:51
professionalȘtefan-Mihai MOGA28-Mar-06 23:51 
Questionquestion about WINCORE.CPP Pin
HOW WHAT28-Mar-06 21:32
HOW WHAT28-Mar-06 21:32 
QuestionGuyz!! help me out hear Pin
evita77728-Mar-06 20:34
evita77728-Mar-06 20:34 
AnswerRe: Guyz!! help me out hear Pin
Cedric Moonen28-Mar-06 20:37
Cedric Moonen28-Mar-06 20:37 
GeneralRe: Guyz!! help me out here Pin
evita77728-Mar-06 20:52
evita77728-Mar-06 20:52 
GeneralRe: Guyz!! help me out hear Pin
Rage28-Mar-06 20:55
professionalRage28-Mar-06 20:55 
GeneralRe: Guyz!! help me out hear Pin
evita77728-Mar-06 21:04
evita77728-Mar-06 21:04 
JokeRe: Guyz!! help me out hear Pin
Rage28-Mar-06 21:04
professionalRage28-Mar-06 21:04 
GeneralRe: Guyz!! help me out hear Pin
evita77728-Mar-06 21:10
evita77728-Mar-06 21:10 
JokeRe: Guyz!! help me out hear Pin
Rage28-Mar-06 20:39
professionalRage28-Mar-06 20:39 
GeneralRe: Guyz!! help me out hear Pin
evita77728-Mar-06 20:54
evita77728-Mar-06 20:54 
Answergimme da key Pin
toxcct28-Mar-06 20:43
toxcct28-Mar-06 20:43 
GeneralRe: gimme da key Pin
evita77728-Mar-06 20:57
evita77728-Mar-06 20:57 
GeneralRe: gimme da key Pin
toxcct28-Mar-06 20:59
toxcct28-Mar-06 20:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.