Click here to Skip to main content
15,926,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ,Formatting c string and std strings Pin
Bernhard16-Oct-01 4:53
Bernhard16-Oct-01 4:53 
GeneralRe: ,Formatting c string and std strings Pin
Jon Salter16-Oct-01 4:55
Jon Salter16-Oct-01 4:55 
GeneralRe: ,Formatting c string and std strings Pin
Bernhard16-Oct-01 4:59
Bernhard16-Oct-01 4:59 
Generalbasic question Pin
16-Oct-01 4:28
suss16-Oct-01 4:28 
GeneralRe: basic question Pin
Rob Caldecott16-Oct-01 4:44
Rob Caldecott16-Oct-01 4:44 
GeneralRe: basic question Pin
16-Oct-01 4:57
suss16-Oct-01 4:57 
GeneralRe: basic question Pin
Alvaro Mendez16-Oct-01 6:24
Alvaro Mendez16-Oct-01 6:24 
GeneralRe: One rule.... Pin
Masaaki Onishi16-Oct-01 6:40
Masaaki Onishi16-Oct-01 6:40 
Hello, the codegurus around the world.;)

One rule is that you had better use MFC as much as possilbe in your code
if you want to use CString.

If you want to read the content of the file, you can use CStdio calss.
Since you use CString value, and want to pass const char* (LPCSTR) of the function,
it sometimes waste your code line (GetBuffer...) or the memory. (but, maybe not big deal).

However, if we use COM or Unicode, we face this kind of problem so often.Cry | :((
The string conversion gives us so much headache. Dead | X|

Have a nice day!

-Masaaki Onishi-


GeneralRe: basic question Pin
peterchen16-Oct-01 7:30
peterchen16-Oct-01 7:30 
GeneralRe: basic question Pin
16-Oct-01 22:33
suss16-Oct-01 22:33 
GeneralRe: basic question Pin
Xian16-Oct-01 8:48
Xian16-Oct-01 8:48 
GeneralTalking to Parallel Port Pin
Russell Morris16-Oct-01 3:53
Russell Morris16-Oct-01 3:53 
GeneralRe: Talking to Parallel Port Pin
User 842016-Oct-01 4:44
User 842016-Oct-01 4:44 
GeneralRe: Talking to Parallel Port Pin
Russell Morris16-Oct-01 5:43
Russell Morris16-Oct-01 5:43 
GeneralRe: Multiple selection CTreeCtrl Pin
16-Oct-01 4:00
suss16-Oct-01 4:00 
QuestionHow can I trap Virtual Keys ? Pin
Braulio Dez16-Oct-01 3:19
Braulio Dez16-Oct-01 3:19 
GeneralNeed tools / techniques for tracing GDI leakage Pin
Jase Jennings16-Oct-01 2:14
Jase Jennings16-Oct-01 2:14 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Braulio Dez16-Oct-01 3:18
Braulio Dez16-Oct-01 3:18 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Jase Jennings16-Oct-01 3:51
Jase Jennings16-Oct-01 3:51 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Rob Caldecott16-Oct-01 3:20
Rob Caldecott16-Oct-01 3:20 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Jase Jennings16-Oct-01 3:55
Jase Jennings16-Oct-01 3:55 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Rob Caldecott16-Oct-01 4:05
Rob Caldecott16-Oct-01 4:05 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Jase Jennings16-Oct-01 4:27
Jase Jennings16-Oct-01 4:27 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Rob Caldecott16-Oct-01 4:39
Rob Caldecott16-Oct-01 4:39 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Jase Jennings16-Oct-01 4:51
Jase Jennings16-Oct-01 4:51 

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.