Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFocus & Always-On-Top :: MFC Pin
valikac12-Jun-02 14:41
valikac12-Jun-02 14:41 
GeneralRe: Focus & Always-On-Top :: MFC Pin
Christian Graus12-Jun-02 14:43
protectorChristian Graus12-Jun-02 14:43 
GeneralRe: Focus & Always-On-Top :: MFC Pin
valikac12-Jun-02 15:02
valikac12-Jun-02 15:02 
GeneralRe: Focus & Always-On-Top :: MFC Pin
valikac12-Jun-02 16:20
valikac12-Jun-02 16:20 
GeneralRe: Focus & Always-On-Top :: MFC Pin
valikac12-Jun-02 16:29
valikac12-Jun-02 16:29 
GeneralRe: Focus & Always-On-Top :: MFC Pin
Cris8-Nov-02 0:37
Cris8-Nov-02 0:37 
Generalcfile question Pin
jafrazee12-Jun-02 14:30
jafrazee12-Jun-02 14:30 
GeneralRe: cfile question Pin
Nish Nishant12-Jun-02 14:26
sitebuilderNish Nishant12-Jun-02 14:26 
jafrazee wrote:
but can i load the entire contents of a file into a CString? or is there a better way?

If it's a file of reasonable length, then the answer is you can. But it's not recommended for binary files.

But say you have some kinda textual config file which you want to parse. Nothing wrong in reading it into a CString even if it goes to 10-20 KB

Nish



Author of the romantic comedy

Summer Love and Some more Cricket [New Win]

Buy it, read it and admire me Smile | :)

GeneralRe: cfile question Pin
Christian Graus12-Jun-02 14:53
protectorChristian Graus12-Jun-02 14:53 
GeneralRe: cfile question Pin
Tim Smith12-Jun-02 15:50
Tim Smith12-Jun-02 15:50 
GeneralRe: cfile question Pin
Christian Graus12-Jun-02 17:39
protectorChristian Graus12-Jun-02 17:39 
GeneralRe: cfile question Pin
Tim Smith12-Jun-02 15:48
Tim Smith12-Jun-02 15:48 
GeneralRe: cfile question Pin
jafrazee12-Jun-02 17:21
jafrazee12-Jun-02 17:21 
GeneralLocal IP address Pin
ed987112-Jun-02 12:13
ed987112-Jun-02 12:13 
GeneralRe: Local IP address Pin
JohnnyG12-Jun-02 13:31
JohnnyG12-Jun-02 13:31 
GeneralRe: Local IP address Pin
JohnnyG12-Jun-02 13:34
JohnnyG12-Jun-02 13:34 
Generalmap or list? You decide! Pin
moredip12-Jun-02 12:04
moredip12-Jun-02 12:04 
GeneralRe: map or list? You decide! Pin
12-Jun-02 12:13
suss12-Jun-02 12:13 
GeneralRe: map or list? You decide! Pin
moredip12-Jun-02 12:15
moredip12-Jun-02 12:15 
GeneralRe: map or list? You decide! Pin
Tim Smith12-Jun-02 12:25
Tim Smith12-Jun-02 12:25 
GeneralRe: map or list? You decide! Pin
moredip12-Jun-02 12:39
moredip12-Jun-02 12:39 
GeneralRe: map or list? You decide! Pin
Alexandru Savescu13-Jun-02 6:01
Alexandru Savescu13-Jun-02 6:01 
GeneralRe: map or list? You decide! Pin
soptest12-Jun-02 12:32
soptest12-Jun-02 12:32 
QuestionIs there a way to read a given sector on a harddrive? Pin
redeemer12-Jun-02 10:52
redeemer12-Jun-02 10:52 
AnswerRe: Is there a way to read a given sector on a harddrive? Pin
12-Jun-02 11:17
suss12-Jun-02 11:17 

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.