Click here to Skip to main content
13,357,973 members (55,822 online)

C / C++ / MFC

 
AnswerRe: Physical drive size Pin
Chris Losinger20-Jul-13 12:27
memberChris Losinger20-Jul-13 12:27 
GeneralRe: Physical drive size Pin
dusty_dex21-Jul-13 4:31
memberdusty_dex21-Jul-13 4:31 
Questionhook game for d3d10 or d3d11 Pin
boxfile18-Jul-13 17:36
memberboxfile18-Jul-13 17:36 
AnswerRe: hook game for d3d10 or d3d11 Pin
boxfile18-Jul-13 20:47
memberboxfile18-Jul-13 20:47 
QuestionCStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 6:33
memberhans.sch11-Jul-13 6:33 
AnswerRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 7:25
memberpasztorpisti11-Jul-13 7:25 
GeneralRe: CStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 7:43
memberhans.sch11-Jul-13 7:43 
GeneralRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 9:21
memberpasztorpisti11-Jul-13 9: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 10:14
memberhans.sch11-Jul-13 10:14 
GeneralRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 10:29
memberpasztorpisti11-Jul-13 10:29 
GeneralRe: CStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 11:34
memberhans.sch11-Jul-13 11:34 
GeneralRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 14:01
memberpasztorpisti11-Jul-13 14:01 
AnswerRe: CStringArray vs. CArray<CString> Pin
Joe Woodbury15-Jul-13 13:00
memberJoe Woodbury15-Jul-13 13:00 
QuestionModeless Dialog with Message Loop Pin
Manish K. Agarwal4-Jul-13 22:32
memberManish K. Agarwal4-Jul-13 22:32 
AnswerRe: Modeless Dialog with Message Loop Pin
pasztorpisti5-Jul-13 15:50
memberpasztorpisti5-Jul-13 15:50 
GeneralRe: Modeless Dialog with Message Loop Pin
Manish K. Agarwal5-Jul-13 19:42
memberManish K. Agarwal5-Jul-13 19:42 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti6-Jul-13 2:55
memberpasztorpisti6-Jul-13 2:55 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti6-Jul-13 3:08
memberpasztorpisti6-Jul-13 3:08 
GeneralRe: Modeless Dialog with Message Loop Pin
Manish K. Agarwal7-Jul-13 22:17
memberManish K. Agarwal7-Jul-13 22:17 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti7-Jul-13 23:11
memberpasztorpisti7-Jul-13 23:11 
GeneralRe: Modeless Dialog with Message Loop Pin
Manish K. Agarwal7-Jul-13 23:53
memberManish K. Agarwal7-Jul-13 23:53 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti8-Jul-13 3:24
memberpasztorpisti8-Jul-13 3:24 
AnswerRe: Modeless Dialog with Message Loop Pin
Erudite_Eric8-Jul-13 0:26
memberErudite_Eric8-Jul-13 0:26 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti8-Jul-13 9:40
memberpasztorpisti8-Jul-13 9:40 
GeneralRe: Modeless Dialog with Message Loop Pin
Erudite_Eric9-Jul-13 1:20
memberErudite_Eric9-Jul-13 1:20 

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.


Advertise | Privacy |
Web02 | 2.8.180111.1 | Last Updated 22 Jan 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid