Click here to Skip to main content
13,201,763 members (73,054 online)

C / C++ / MFC

 
GeneralRe: Physical drive size Pin
john563220-Jul-13 3:53
memberjohn563220-Jul-13 3:53 
GeneralRe: Physical drive size Pin
Jochen Arndt20-Jul-13 23:35
professionalJochen Arndt20-Jul-13 23:35 
GeneralRe: Physical drive size Pin
Richard MacCutchan20-Jul-13 2:42
mvpRichard MacCutchan20-Jul-13 2:42 
AnswerRe: Physical drive size Pin
Chris Losinger20-Jul-13 11:27
memberChris Losinger20-Jul-13 11:27 
GeneralRe: Physical drive size Pin
dusty_dex21-Jul-13 3:31
memberdusty_dex21-Jul-13 3:31 
Questionhook game for d3d10 or d3d11 Pin
boxfile18-Jul-13 16:36
memberboxfile18-Jul-13 16:36 
AnswerRe: hook game for d3d10 or d3d11 Pin
boxfile18-Jul-13 19:47
memberboxfile18-Jul-13 19:47 
QuestionCStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 5:33
memberhans.sch11-Jul-13 5:33 
AnswerRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 6:25
memberpasztorpisti11-Jul-13 6:25 
GeneralRe: CStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 6:43
memberhans.sch11-Jul-13 6:43 
GeneralRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 8:21
memberpasztorpisti11-Jul-13 8:21 
GeneralRe: CStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 9:14
memberhans.sch11-Jul-13 9:14 
GeneralRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 9:29
memberpasztorpisti11-Jul-13 9:29 
GeneralRe: CStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 10:34
memberhans.sch11-Jul-13 10:34 
Thanks for that link... actually it doesn't tell me why I should use one or the other. There table in that page lists two differences between CArray and CStringArray: 1. The former uses templates while the latter doesn't - well, that is obvious. 2. CArray isn't type safe while CStringArray is - but I fail to see why. A CArray<CString, LPCTSTR> can only contain CString objects, so what should be type unsafe? So actually, my question remains open Frown | :-(

Regarding your advice, I have to deal with tons of old code. Many parts of that code work well with Unicode, but I know some places that confuse bytes with characters, and I sure don't know all of them, and I just don't have the time to clean everything up. I will have to live with a mix of 16 and 8 bit character strings. Besides, it is a pity that there is no built-in or MFC UTF-8 string type in C++. I love Perl for that.
GeneralRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 13:01
memberpasztorpisti11-Jul-13 13:01 
AnswerRe: CStringArray vs. CArray<CString> Pin
Joe Woodbury15-Jul-13 12:00
memberJoe Woodbury15-Jul-13 12:00 
QuestionModeless Dialog with Message Loop Pin
Manish K. Agarwal4-Jul-13 21:32
memberManish K. Agarwal4-Jul-13 21:32 
AnswerRe: Modeless Dialog with Message Loop Pin
pasztorpisti5-Jul-13 14:50
memberpasztorpisti5-Jul-13 14:50 
GeneralRe: Modeless Dialog with Message Loop Pin
Manish K. Agarwal5-Jul-13 18:42
memberManish K. Agarwal5-Jul-13 18:42 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti6-Jul-13 1:55
memberpasztorpisti6-Jul-13 1:55 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti6-Jul-13 2:08
memberpasztorpisti6-Jul-13 2:08 
GeneralRe: Modeless Dialog with Message Loop Pin
Manish K. Agarwal7-Jul-13 21:17
memberManish K. Agarwal7-Jul-13 21:17 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti7-Jul-13 22:11
memberpasztorpisti7-Jul-13 22:11 
GeneralRe: Modeless Dialog with Message Loop Pin
Manish K. Agarwal7-Jul-13 22:53
memberManish K. Agarwal7-Jul-13 22:53 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti8-Jul-13 2:24
memberpasztorpisti8-Jul-13 2:24 
AnswerRe: Modeless Dialog with Message Loop Pin
Erudite_Eric7-Jul-13 23:26
memberErudite_Eric7-Jul-13 23:26 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti8-Jul-13 8:40
memberpasztorpisti8-Jul-13 8:40 
GeneralRe: Modeless Dialog with Message Loop Pin
Erudite_Eric9-Jul-13 0:20
memberErudite_Eric9-Jul-13 0:20 
GeneralRe: Modeless Dialog with Message Loop Pin
Erudite_Eric10-Jul-13 2:14
memberErudite_Eric10-Jul-13 2:14 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti10-Jul-13 2:25
memberpasztorpisti10-Jul-13 2:25 
GeneralRe: Modeless Dialog with Message Loop Pin
Erudite_Eric10-Jul-13 4:25
memberErudite_Eric10-Jul-13 4:25 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti10-Jul-13 5:17
memberpasztorpisti10-Jul-13 5:17 
GeneralRe: Modeless Dialog with Message Loop Pin
Erudite_Eric10-Jul-13 23:18
memberErudite_Eric10-Jul-13 23:18 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti11-Jul-13 0:21
memberpasztorpisti11-Jul-13 0:21 
GeneralRe: Modeless Dialog with Message Loop Pin
Erudite_Eric11-Jul-13 2:07
memberErudite_Eric11-Jul-13 2:07 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti11-Jul-13 2:13
memberpasztorpisti11-Jul-13 2:13 
GeneralRe: Modeless Dialog with Message Loop Pin
Erudite_Eric11-Jul-13 3:13
memberErudite_Eric11-Jul-13 3:13 
GeneralRe: Modeless Dialog with Message Loop Pin
pasztorpisti11-Jul-13 3:52
memberpasztorpisti11-Jul-13 3:52 
GeneralRe: Modeless Dialog with Message Loop Pin
Erudite_Eric11-Jul-13 4:09
memberErudite_Eric11-Jul-13 4:09 
QuestionClass not registered error Pin
sdancer754-Jul-13 2:30
membersdancer754-Jul-13 2:30 
AnswerRe: Class not registered error Pin
«_Superman_»4-Jul-13 20:01
member«_Superman_»4-Jul-13 20:01 
GeneralRe: Class not registered error Pin
sdancer754-Jul-13 21:34
membersdancer754-Jul-13 21:34 
GeneralRe: Class not registered error Pin
«_Superman_»4-Jul-13 21:46
member«_Superman_»4-Jul-13 21:46 
GeneralRe: Class not registered error Pin
sdancer754-Jul-13 22:53
membersdancer754-Jul-13 22:53 
GeneralRe: Class not registered error Pin
«_Superman_»4-Jul-13 23:00
member«_Superman_»4-Jul-13 23:00 
GeneralRe: Class not registered error Pin
sdancer754-Jul-13 23:27
membersdancer754-Jul-13 23:27 
GeneralRe: Class not registered error Pin
«_Superman_»4-Jul-13 23:41
member«_Superman_»4-Jul-13 23:41 
GeneralRe: Class not registered error Pin
sdancer754-Jul-13 23:57
membersdancer754-Jul-13 23:57 
GeneralRe: Class not registered error Pin
sdancer755-Jul-13 0:13
membersdancer755-Jul-13 0:13 
GeneralRe: Class not registered error Pin
sdancer7511-Jul-13 23:16
membersdancer7511-Jul-13 23:16 

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 |
Web04 | 2.8.171020.1 | Last Updated 23 Oct 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid