Click here to Skip to main content
15,884,425 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Loading two versions of Common Controls Pin
Randor 12-Jul-13 15:01
professional Randor 12-Jul-13 15:01 
GeneralRe: Loading two versions of Common Controls Pin
Jonathan Davies12-Jul-13 23:33
Jonathan Davies12-Jul-13 23:33 
GeneralRe: Loading two versions of Common Controls Pin
Jonathan Davies13-Jul-13 9:05
Jonathan Davies13-Jul-13 9:05 
GeneralRe: Loading two versions of Common Controls Pin
Jonathan Davies14-Jul-13 5:25
Jonathan Davies14-Jul-13 5:25 
QuestionCStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 5:33
hans.sch11-Jul-13 5:33 
AnswerRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 6:25
pasztorpisti11-Jul-13 6:25 
GeneralRe: CStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 6:43
hans.sch11-Jul-13 6:43 
GeneralRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 8:21
pasztorpisti11-Jul-13 8:21 
Do you receive single bytes/ascii or really ansi on the serial port? Many people confuse ansi with ascii or latin1. Similarly, many windows coders confuse utf16 with unicode (they are two different things) and wchar_t with a unicode character. Can you clearly separate these concepts because if not I can write you a very little mini tutorial about these here. I want to convince you that compiling your program only for unicode is probably enough. Btw, what is on the other end of the serial port and what kind of codepage do you use in the "ansi" text for communication, is the text bare ascii (characters below chr(128))?

Containers: No matter what containers you use, its easy to debug either implementation. One of the project I'm currently working on contains own container implementations (array, hashmap, ...) and even these containers are debuggable if you can adjust the autoexp.dat file of your visual studio accordingly to teach the debugger how to get out items from the container. When I choose containers I consider 2 aspects: portability to different platforms and whether I need hardcore performance optimization later in the project or not. If we consider portability then stl is a much better choice than mfc containers, thats why I never really used mfc containers. Writing your own containers isn't practical in 99% of the projects.
GeneralRe: CStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 9:14
hans.sch11-Jul-13 9:14 
GeneralRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 9:29
pasztorpisti11-Jul-13 9:29 
GeneralRe: CStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 10:34
hans.sch11-Jul-13 10:34 
GeneralRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 13:01
pasztorpisti11-Jul-13 13:01 
AnswerRe: CStringArray vs. CArray<CString> Pin
Joe Woodbury15-Jul-13 12:00
professionalJoe Woodbury15-Jul-13 12:00 
QuestionThe Serical Port Question? Pin
dave62112711-Jul-13 0:27
dave62112711-Jul-13 0:27 
AnswerRe: The Serical Port Question? Pin
«_Superman_»11-Jul-13 1:19
professional«_Superman_»11-Jul-13 1:19 
GeneralRe: The Serical Port Question? Pin
dave62112711-Jul-13 2:43
dave62112711-Jul-13 2:43 
GeneralRe: The Serical Port Question? Pin
Erudite_Eric11-Jul-13 6:06
Erudite_Eric11-Jul-13 6:06 
GeneralRe: The Serical Port Question? Pin
dave62112711-Jul-13 15:15
dave62112711-Jul-13 15:15 
AnswerRe: The Serical Port Question? Pin
Erudite_Eric11-Jul-13 6:08
Erudite_Eric11-Jul-13 6:08 
GeneralRe: The Serical Port Question? Pin
dave62112711-Jul-13 15:29
dave62112711-Jul-13 15:29 
GeneralRe: The Serical Port Question? Pin
Erudite_Eric11-Jul-13 20:59
Erudite_Eric11-Jul-13 20:59 
GeneralRe: The Serical Port Question? Pin
dave62112712-Jul-13 5:35
dave62112712-Jul-13 5:35 
QuestionCompile error caused from big header file Pin
andreas049-Jul-13 22:02
andreas049-Jul-13 22:02 
AnswerRe: Compile error caused from big header file Pin
Richard MacCutchan10-Jul-13 1:33
mveRichard MacCutchan10-Jul-13 1:33 
AnswerRe: Compile error caused from big header file Pin
Erudite_Eric10-Jul-13 2:19
Erudite_Eric10-Jul-13 2:19 

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.